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

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



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


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