[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]

 



---
 installclass.py        |    2 ++
 installclasses/rhel.py |    1 +
 2 files changed, 3 insertions(+), 0 deletions(-)

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):
         pass
diff --git a/installclasses/rhel.py b/installclasses/rhel.py
index 5572298..084c8b1 100644
--- a/installclasses/rhel.py
+++ b/installclasses/rhel.py
@@ -46,6 +46,7 @@ class InstallClass(BaseInstallClass):
         hidden = 1
 
     bootloaderTimeoutDefault = 5
+    bootloaderExtraArgs = "crashkernel=auto"
 
     tasks = [(N_("Minimal"), ["core"]),
              (N_("Desktop"),
-- 
1.7.0

_______________________________________________
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