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

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Looks fine.

On Thu, 24 Sep 2009, Chris Lumens wrote:

---
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")


- -- David Cantrell <dcantrell@xxxxxxxxxx>
Red Hat / Honolulu, HI

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkq70sAACgkQ5hsjjIy1VklT6ACdFOXryz1u61QjyxoYhj3y+rvw
/jwAn2poWv8K03tBghLb0QnhcTdfDohm
=XsM+
-----END PGP SIGNATURE-----

_______________________________________________
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