Hi,
On 05/21/2010 05:44 PM, Chris Lumens wrote:
diff --git a/textw/add_drive_text.py b/textw/add_drive_text.py
index 663d45d..e805618 100644
--- a/textw/add_drive_text.py
+++ b/textw/add_drive_text.py
@@ -135,11 +135,13 @@ class addDriveDialog(object):
"'linux asknetwork'")
return INSTALL_BACK
+ iname = storage.iscsi.iscsi().initiator
(button, entries) = EntryWindow(screen,
_("Configure iSCSI Parameters"),
_("To use iSCSI disks, you must provide the address of your iSCSI target and the iSCSI initiator name you've configured for your host."),
prompts = [ _("Target IP Address"),
- _("iSCSI Initiator Name"),
+ (_("iSCSI Initiator Name"),
+ iname),
_("CHAP username"),
_("CHAP password"),
_("Reverse CHAP username"),
Do you have a reference for including a tuple in the list of prompts?
I found this while googling for more info on EntryWindow, first hit
when searching for "newt EntryWindow":
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=340366
And I tested the patch and it works.
Regards,
Hans
_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list