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

[PATCH storage] Use correct storage attribute for ks clearpart



---
 kickstart.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/kickstart.py b/kickstart.py
index 2cf9a3f..475efe2 100644
--- a/kickstart.py
+++ b/kickstart.py
@@ -237,8 +237,8 @@ class ClearPart(commands.clearpart.FC3_ClearPart):
             if disk not in hds:
                 raise KickstartValueError, formatErrorMsg(self.lineno, msg="Specified nonexistent disk %s in clearpart command" % disk)
 
-        self.handler.id.storage.autoClearPartType = self.type
-        self.handler.id.storage.autoClearPartDrives = self.drives
+        self.handler.id.storage.clearPartType = self.type
+        self.handler.id.storage.clearPartDisks = self.drives
         if self.initAll:
             self.handler.id.storage.reinitializeDisks = self.initAll
 
-- 
1.5.4.3


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