summaryrefslogtreecommitdiffstats
path: root/installclass.py
diff options
context:
space:
mode:
authorDavid Lehman <dlehman@redhat.com>2009-02-27 12:39:34 -0600
committerDavid Lehman <dlehman@redhat.com>2009-02-27 12:39:34 -0600
commitfad2b7d86566d5608e4d58642c816eeae960cf71 (patch)
tree0ccf6ec26e240e1d452c054a207068d9cb3eb744 /installclass.py
parenta728c1eb81bc2a2c87353df342e68e649055d6f5 (diff)
downloadanaconda-fad2b7d86566d5608e4d58642c816eeae960cf71.tar.gz
anaconda-fad2b7d86566d5608e4d58642c816eeae960cf71.tar.xz
anaconda-fad2b7d86566d5608e4d58642c816eeae960cf71.zip
Use correct attributes of storage for clearpart type and disks.
Diffstat (limited to 'installclass.py')
-rw-r--r--installclass.py9
1 files changed, 3 insertions, 6 deletions
diff --git a/installclass.py b/installclass.py
index 91f6c23b4..bc25c66ca 100644
--- a/installclass.py
+++ b/installclass.py
@@ -198,13 +198,10 @@ class BaseInstallClass(object):
autorequests.append((None, "swap", minswap, maxswap, True, True))
if doClear:
- storage.autoClearPartType = clear
- storage.autoClearPartDrives = []
+ storage.clearPartType = clear
+ storage.clearPartDisks = []
- if useLVM:
- storage.autoPartitionRequests = autoCreateLVMPartitionRequests(autorequests)
- else:
- storage.autoPartitionRequests = autoCreatePartitionRequests(autorequests)
+ storage.autoPartitionRequests = autorequests
def setInstallData(self, anaconda):