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

[PATCH 2/2] Don't set doAutoPart on interactive kicsktart installs (#496896).



---
 iw/autopart_type.py |   10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/iw/autopart_type.py b/iw/autopart_type.py
index 1b35573..164f069 100644
--- a/iw/autopart_type.py
+++ b/iw/autopart_type.py
@@ -175,10 +175,16 @@ class PartitionTypeWindow(InstallWindow):
                 self.storage.encryptionPassphrase = ""
                 self.storage.retrofitPassphrase = False
                 self.storage.encryptedAutoPart = False
-            
-            self.storage.doAutoPart = True
+
             self.storage.clearPartType = val
 
+            # If this is an interactive kickstart install, do not set
+            # doAutoPart as that'll set us up to try to make the default
+            # partitioning layout after applying whatever was in the
+            # kickstart file.
+            if not self.anaconda.isKickstart:
+                self.storage.doAutoPart = True
+
             allowdrives = []
             model = self.drivelist.get_model()
             for row in model:
-- 
1.6.1.3


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