diff options
author | Elliot Peele <elliot@rpath.com> | 2008-03-27 17:44:45 -0400 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2008-03-27 23:35:42 -0400 |
commit | 524f68f2770b2a42a3c48a976cf99bf0828d243b (patch) | |
tree | e796ffacf0c85c24f0fc8b2ecd48335a733f0b6b /iw | |
parent | 6349b7bce50fe49ff1756bf191f71f1893cb8da8 (diff) | |
download | anaconda-524f68f2770b2a42a3c48a976cf99bf0828d243b.tar.gz anaconda-524f68f2770b2a42a3c48a976cf99bf0828d243b.tar.xz anaconda-524f68f2770b2a42a3c48a976cf99bf0828d243b.zip |
When dhcp is selected ensure that bootproto is set to dhcp (RPL-2301)
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.
Diffstat (limited to 'iw')
-rw-r--r-- | iw/netconfig_dialog.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/iw/netconfig_dialog.py b/iw/netconfig_dialog.py index 072634353..e361e5aed 100644 --- a/iw/netconfig_dialog.py +++ b/iw/netconfig_dialog.py @@ -171,6 +171,7 @@ class NetworkConfigurator: # 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 " |