[PATCH] Make sure the Minimal group is selected by default on RHEL installs (#524561).

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

 



---
 installclasses/fedora.py |    4 ++++
 installclasses/rhel.py   |    4 ++++
 2 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/installclasses/fedora.py b/installclasses/fedora.py
index d3add70..009fa7a 100644
--- a/installclasses/fedora.py
+++ b/installclasses/fedora.py
@@ -66,6 +66,10 @@ class InstallClass(BaseInstallClass):
                                                 anaconda.id.storage,
                                                 anaconda.platform)
 
+    def setGroupSelection(self, anaconda):
+        BaseInstallClass.setGroupSelection(self, anaconda)
+        map(lambda x: anaconda.backend.selectGroup(x), ["core"])
+
     def setSteps(self, anaconda):
 	BaseInstallClass.setSteps(self, anaconda);
 	anaconda.dispatch.skipStep("partition")
diff --git a/installclasses/rhel.py b/installclasses/rhel.py
index 0a632c5..37cc9ff 100644
--- a/installclasses/rhel.py
+++ b/installclasses/rhel.py
@@ -99,6 +99,10 @@ class InstallClass(BaseInstallClass):
                                                 anaconda.id.storage,
                                                 anaconda.platform)
 
+    def setGroupSelection(self, anaconda):
+        BaseInstallClass.setGroupSelection(self, anaconda)
+        map(lambda x: anaconda.backend.selectGroup(x), ["minimal"])
+
     def setSteps(self, anaconda):
         BaseInstallClass.setSteps(self, anaconda)
         anaconda.dispatch.skipStep("partition")
-- 
1.6.4.2

_______________________________________________
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