[PATCH rhel6-branch] Match also iface when logging into selected iface-bound iscsi target (#740105)
Radek Vykydal
rvykydal at redhat.com
Thu Jul 18 15:22:32 UTC 2013
---
pyanaconda/ui/gui/spokes/advstorage/iscsi.py | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/pyanaconda/ui/gui/spokes/advstorage/iscsi.py b/pyanaconda/ui/gui/spokes/advstorage/iscsi.py
index be3a526..92f9e6c 100644
--- a/pyanaconda/ui/gui/spokes/advstorage/iscsi.py
+++ b/pyanaconda/ui/gui/spokes/advstorage/iscsi.py
@@ -337,6 +337,10 @@ class ISCSIDialog(GUIObject):
for node in self._discoveredNodes:
if obj.notLoggedIn and node.name == obj.name:
+ # when binding interfaces match also interface
+ if self.iscsi.ifaces and \
+ obj.iface != self.iscsi.ifaces[node.iface]:
+ continue
(rc, msg) = self.iscsi.log_into_node(node,
username=credentials.username,
password=credentials.password,
--
1.7.11.7
More information about the anaconda-patches
mailing list