Hi All, The subject says it all, this should fix 432819 Regards, Hans
diff --git a/iscsi.py b/iscsi.py index 37366cb..89220c0 100644 --- a/iscsi.py +++ b/iscsi.py @@ -388,10 +388,20 @@ class iscsi(object): self.updateIscsidConf(record) + if record.has_key('node.session.auth.username'): + username = record['node.session.auth.username'] + else: + username = None + + if record.has_key('node.session.auth.password'): + password = record['node.session.auth.password'] + else: + password = None + t = iscsiTarget(ipaddr=record['node.conn[%s].address' % (n,)], port=record['node.conn[%s].port' % (n,)], - user=record['node.session.auth.username'], - pw=record['node.session.auth.password'], + user=username, + pw=password, discover = False) self.targets.append(t)
_______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list