[PATCH] add_drive_text: Pass interface to iscsi.addTarget

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



So that the user gets a wait dialog and thus gets feedback that the
add iSCSI drive dialog he entered information into actually is doing
something (related rhbz571808)
---
 textw/add_drive_text.py |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/textw/add_drive_text.py b/textw/add_drive_text.py
index b8edc29..e690475 100644
--- a/textw/add_drive_text.py
+++ b/textw/add_drive_text.py
@@ -175,6 +175,7 @@ class addDriveDialog(object):
         iname = entries[1].strip()
         if not storage.iscsi.iscsi().initiatorSet:
             storage.iscsi.iscsi().initiator = iname
-        storage.iscsi.iscsi().addTarget(ip, port, user, pw, user_in, pw_in)
+        storage.iscsi.iscsi().addTarget(ip, port, user, pw, user_in, pw_in,
+                                        intf=self.anaconda.intf)
 
         return INSTALL_OK
-- 
1.7.0.1

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux