[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [PATCH 2/2] Add "crashkernel=auto" to grub.conf for RHEL installs (#561729)



> diff --git a/installclass.py b/installclass.py
> index f6c53e6..5ede06a 100644
> --- a/installclass.py
> +++ b/installclass.py
> @@ -53,6 +53,7 @@ class BaseInstallClass(object):
>      # default to showing the upgrade option
>      showUpgrade = True
>      bootloaderTimeoutDefault = 0
> +    bootloaderExtraArgs = ""
>  
>      # list of of (txt, grplist) tuples for task selection screen
>      tasks = []
> @@ -190,6 +191,7 @@ class BaseInstallClass(object):
>  
>      def configure(self, anaconda):
>          anaconda.bootloader.timeout = self.bootloaderTimeoutDefault
> +        anaconda.bootloader.args.append(self.bootloaderExtraArgs)
>  
>      def versionMatches(self, oldver):

anaconda.bootloader.args is a list, yeah?  So you probably also want to
make bootloaderExtraArgs a list for consistency.

- Chris


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]