summaryrefslogtreecommitdiffstats
path: root/upgrade.py
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2009-02-06 10:50:14 +0100
committerHans de Goede <hdegoede@redhat.com>2009-02-11 12:08:25 +0100
commit78ca394478575bc2dfda5a8e107c90254ee39b11 (patch)
treea7ade2ec15da4cc323ddc672d2caf08b3ed6f335 /upgrade.py
parente7745f5d452aca7c1d55b343b1ea705c5db47508 (diff)
downloadanaconda-78ca394478575bc2dfda5a8e107c90254ee39b11.tar.gz
anaconda-78ca394478575bc2dfda5a8e107c90254ee39b11.tar.xz
anaconda-78ca394478575bc2dfda5a8e107c90254ee39b11.zip
Rewrite iscsi code using libiscsi
This patch replaces the iscsi.py code with new code using libiscsi, getting rid of the awefull configfile mangling to set auth info hack, and in general making it much cleaner. Fixes: -Report error when we cannot add a disk instead of silently failing (461830) -Report error when trying to use iscsi from kickstart without having an iscsiname directive first (463156) -Better feedback while scanning iscsi disks -Make ibft work with chap and 2-way chap -Make ibft configured disks available for upgrades and in rescue mode -Make ibft boot work even when iscsi-initiator-utils is installed after the kernel in the transaction Note: libiscsi is available in Fedora now
Diffstat (limited to 'upgrade.py')
-rw-r--r--upgrade.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/upgrade.py b/upgrade.py
index d8d1e7574..1c4685d2e 100644
--- a/upgrade.py
+++ b/upgrade.py
@@ -149,6 +149,9 @@ def findRootParts(anaconda):
anaconda.dispatch.skipStep("installtype", skip = 0)
def findExistingRoots(anaconda, upgradeany = 0):
+ # make ibft configured iscsi disks available
+ anaconda.id.iscsi.startup(anaconda.intf)
+
if not flags.setupFilesystems:
relstr = partedUtils.getReleaseString (anaconda.rootPath)
if ((flags.cmdline.has_key("upgradeany")) or