summaryrefslogtreecommitdiffstats
path: root/installclass.py
diff options
context:
space:
mode:
authorDavid Lehman <dlehman@redhat.com>2009-02-23 12:21:24 -0600
committerDavid Lehman <dlehman@redhat.com>2009-02-23 12:21:24 -0600
commite1a7fe9887886044b07587b3ec2caa2ff53ebfb2 (patch)
tree447c0c31e503a74f9247d36c2947d8a483f68836 /installclass.py
parent715e529c7ae2742ff57f7b9eba055e92e8077d82 (diff)
downloadanaconda-e1a7fe9887886044b07587b3ec2caa2ff53ebfb2.tar.gz
anaconda-e1a7fe9887886044b07587b3ec2caa2ff53ebfb2.tar.xz
anaconda-e1a7fe9887886044b07587b3ec2caa2ff53ebfb2.zip
Updates to make existing code use the new storage module.
Diffstat (limited to 'installclass.py')
-rw-r--r--installclass.py17
1 files changed, 8 insertions, 9 deletions
diff --git a/installclass.py b/installclass.py
index a3a97aed5..4a1e95269 100644
--- a/installclass.py
+++ b/installclass.py
@@ -96,14 +96,14 @@ class BaseInstallClass(object):
"language",
"keyboard",
"welcome",
+ "storageinit",
"findrootparts",
"betanag",
"installtype",
- "partitionobjinit",
"parttype",
"autopartitionexecute",
"partition",
- "partitiondone",
+ "storagedone",
"bootloadersetup",
"bootloader",
"network",
@@ -116,7 +116,6 @@ class BaseInstallClass(object):
"confirminstall",
"install",
"enablefilesystems",
- "migratefilesystems",
"setuptime",
"preinstallconfig",
"installpackages",
@@ -188,11 +187,11 @@ class BaseInstallClass(object):
from backend import AnacondaBackend
return AnacondaBackend
- def setDefaultPartitioning(self, partitions, clear = CLEARPART_TYPE_LINUX,
+ def setDefaultPartitioning(self, storage, clear = CLEARPART_TYPE_LINUX,
doClear = 1, useLVM = True):
autorequests = [ ("/", None, 1024, None, 1, 1, 1) ]
- bootreq = getAutopartitionBoot(partitions)
+ bootreq = getAutopartitionBoot(storage)
if bootreq:
autorequests.extend(bootreq)
@@ -200,13 +199,13 @@ class BaseInstallClass(object):
autorequests.append((None, "swap", minswap, maxswap, 1, 1, 1))
if doClear:
- partitions.autoClearPartType = clear
- partitions.autoClearPartDrives = []
+ storage.autoClearPartType = clear
+ storage.autoClearPartDrives = []
if useLVM:
- partitions.autoPartitionRequests = autoCreateLVMPartitionRequests(autorequests)
+ storage.autoPartitionRequests = autoCreateLVMPartitionRequests(autorequests)
else:
- partitions.autoPartitionRequests = autoCreatePartitionRequests(autorequests)
+ storage.autoPartitionRequests = autoCreatePartitionRequests(autorequests)
def setInstallData(self, anaconda):