[PATCH] Honor kickstart 'autopart --nolvm' option

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

 



---
 pyanaconda/kickstart.py |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/pyanaconda/kickstart.py b/pyanaconda/kickstart.py
index 461200b..7ec12b1 100644
--- a/pyanaconda/kickstart.py
+++ b/pyanaconda/kickstart.py
@@ -232,7 +232,7 @@ class Authconfig(commands.authconfig.FC3_Authconfig):
     def execute(self):
         self.anaconda.security.auth = self.authconfig
 
-class AutoPart(commands.autopart.F12_AutoPart):
+class AutoPart(commands.autopart.F16_AutoPart):
     def execute(self):
         # sets up default autopartitioning.  use clearpart separately
         # if you want it
@@ -247,6 +247,9 @@ class AutoPart(commands.autopart.F12_AutoPart):
             self.anaconda.storage.autoPartAddBackupPassphrase = \
                 self.backuppassphrase
 
+        if not self.lvm:
+            self.anaconda.storage.lvmAutoPart = False
+
         self.anaconda.dispatch.skip_steps("partition", "parttype")
 
 class AutoStep(commands.autostep.FC3_AutoStep):
-- 
1.7.6

_______________________________________________
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