[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[elliot@rpath.com: anaconda: when dhcp is selected ensure that bootproto is set to dhcp (RPL-2301)]
- From: Elliot Peele <elliot rpath com>
- To: anaconda-devel-list redhat com
- Subject: [elliot@rpath.com: anaconda: when dhcp is selected ensure that bootproto is set to dhcp (RPL-2301)]
- Date: Thu, 27 Mar 2008 17:44:45 -0400
If Anaconda was started without network configured the netdev object
does not have a bootproto set. The patch ensures that bootproto is set
for the dhcp case. In the static case the ui requires the user to enter
ip information.
Elliot
tag: anaconda-2008032601
user: Elliot Peele <http://issues.rpath.com/>
files: iw/netconfig_dialog.py
when dhcp is selected ensure that bootproto is set to dhcp (RPL-2301)
diff -r 3e60e4b058e2 -r bcba0cd916c1 iw/netconfig_dialog.py
--- a/iw/netconfig_dialog.py Wed Mar 26 16:02:08 2008 -0400
+++ b/iw/netconfig_dialog.py Wed Mar 26 16:03:44 2008 -0400
@@ -165,6 +165,7 @@
# FIXME: need to do input validation
if self.xml.get_widget("dhcpCheckbutton").get_active():
+ netdev.set(('bootproto', 'dhcp'))
self.window.hide()
w = gui.WaitWindow(_("Dynamic IP"),
_("Sending request for IP information "
--
Elliot Peele
rPath, Inc.
elliot rpath com
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]