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

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

 



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

_______________________________________________
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