[PATCH] Set default partitioning also in case of kickstart without autopart.

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

 



When using kickstart without autopart, autopartition choices
in UI failed to proceed because of missing default requests.
---
 installclasses/fedora.py |    3 ++-
 installclasses/rhel.py   |    3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/installclasses/fedora.py b/installclasses/fedora.py
index d2ddafa..e6f4ac1 100644
--- a/installclasses/fedora.py
+++ b/installclasses/fedora.py
@@ -62,7 +62,8 @@ class InstallClass(BaseInstallClass):
     def setInstallData(self, anaconda):
 	BaseInstallClass.setInstallData(self, anaconda)
 
-        if not anaconda.isKickstart:
+        # if not already set in kickstart
+        if not anaconda.id.storage.doAutoPart:
             BaseInstallClass.setDefaultPartitioning(self,
                                                     anaconda.id.storage,
                                                     anaconda.platform,
diff --git a/installclasses/rhel.py b/installclasses/rhel.py
index da25946..8eb8241 100644
--- a/installclasses/rhel.py
+++ b/installclasses/rhel.py
@@ -88,7 +88,8 @@ class InstallClass(BaseInstallClass):
     def setInstallData(self, anaconda):
 	BaseInstallClass.setInstallData(self, anaconda)
 
-        if not anaconda.isKickstart:
+        # if not already set in kickstart
+        if not anaconda.id.storage.doAutoPart:
             BaseInstallClass.setDefaultPartitioning(self, 
                                                     anaconda.id.storage,
                                                     anaconda.platform,
-- 
1.5.4.3

_______________________________________________
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