summaryrefslogtreecommitdiffstats
path: root/installclass.py
diff options
context:
space:
mode:
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):