summaryrefslogtreecommitdiffstats
path: root/iscsi.py
diff options
context:
space:
mode:
authorHans de Goede <hans@localhost.localdomain>2008-09-15 10:22:24 +0200
committerHans de Goede <hans@localhost.localdomain>2008-09-15 10:22:24 +0200
commit3d43330b33ca6e802b287afb552409fac7e0de51 (patch)
treea44831bd78c24a5c04186315fd417ff32637b109 /iscsi.py
parent0ee5e387d90384f5597c376457a13a57aad49eb7 (diff)
downloadanaconda-3d43330b33ca6e802b287afb552409fac7e0de51.tar.gz
anaconda-3d43330b33ca6e802b287afb552409fac7e0de51.tar.xz
anaconda-3d43330b33ca6e802b287afb552409fac7e0de51.zip
Add ibft flag to ease in testing.
Forward port of rhel-5 patch from pjones, commit-id: 5a44a5a6bc90fdf056db1e9e2d4191703387c15f
Diffstat (limited to 'iscsi.py')
-rw-r--r--iscsi.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/iscsi.py b/iscsi.py
index dd5377377..ce2c8b6dc 100644
--- a/iscsi.py
+++ b/iscsi.py
@@ -207,7 +207,8 @@ class iscsi(object):
# automatically attach to it. Do this before testing the initiator
# name, because it is provided by the iBFT too
- self.loginToDefaultDrive()
+ if flags.ibft:
+ self.loginToDefaultDrive()
def _getInitiator(self):
if self._initiator != "":