summaryrefslogtreecommitdiffstats
path: root/kickstart.py
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2009-12-14 19:18:44 +0100
committerHans de Goede <hdegoede@redhat.com>2009-12-15 03:59:22 +0100
commit507eb11f3846900fc4690ff36d62a93a1c39b4ab (patch)
tree0f01c49a8606f908b91339bf226271252d1a680a /kickstart.py
parent4e038ca0a72202940b27c8e60e1e3028db615e0f (diff)
downloadanaconda-507eb11f3846900fc4690ff36d62a93a1c39b4ab.tar.gz
anaconda-507eb11f3846900fc4690ff36d62a93a1c39b4ab.tar.xz
anaconda-507eb11f3846900fc4690ff36d62a93a1c39b4ab.zip
Make iscsi,etc startup use the iscsi,etc Singletons
Make iscsi,etc startup use the iscsi,etc Singletons, instead of the not yet instantiated instData.
Diffstat (limited to 'kickstart.py')
-rw-r--r--kickstart.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/kickstart.py b/kickstart.py
index a1d10c533..adab33a84 100644
--- a/kickstart.py
+++ b/kickstart.py
@@ -1206,9 +1206,9 @@ def parseKickstart(anaconda, file):
# We need this so all the /dev/disk/* stuff is set up before parsing.
udev_trigger(subsystem="block")
# So that drives onlined by these can be used in the ks file
- anaconda.id.storage.iscsi.startup(anaconda.intf)
- anaconda.id.storage.fcoe.startup(anaconda.intf)
- anaconda.id.storage.zfcp.startup()
+ storage.iscsi.iscsi().startup()
+ storage.fcoe.fcoe().startup()
+ storage.zfcp.ZFCP().startup()
# Note we do NOT call dasd.startup() here, that does not online drives, but
# only checks if they need formatting, which requires zerombr to be known