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

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

 



> 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

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux