summaryrefslogtreecommitdiffstats
path: root/iw/network_gui.py
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2008-01-30 11:46:19 -0500
committerChris Lumens <clumens@redhat.com>2008-01-30 17:28:16 -0500
commit11377383a17904870d71a2c204937af7466e9a8a (patch)
treec0b4c92f1963ebd565f3c57cbc5689463e3d828a /iw/network_gui.py
parent6b8ef69abd2f581f9f0a64af5998a6e2abe42b33 (diff)
downloadanaconda-11377383a17904870d71a2c204937af7466e9a8a.tar.gz
anaconda-11377383a17904870d71a2c204937af7466e9a8a.tar.xz
anaconda-11377383a17904870d71a2c204937af7466e9a8a.zip
Revert "Initial support for network --bootproto=ask (#401531)."
This reverts commit 062a1e5ebbf6dab03524a125c1ce34d3cea43fcb.
Diffstat (limited to 'iw/network_gui.py')
-rw-r--r--iw/network_gui.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/iw/network_gui.py b/iw/network_gui.py
index 34f799cc4..2a4c89303 100644
--- a/iw/network_gui.py
+++ b/iw/network_gui.py
@@ -341,7 +341,7 @@ class NetworkWindow(InstallWindow):
for device in self.devices.keys():
bootproto = self.devices[device].get("bootproto")
- if bootproto and bootproto.lower() in ['ask', 'dhcp']:
+ if bootproto and bootproto.lower() == 'dhcp':
onboot = self.devices[device].get("ONBOOT")
if onboot != "no":
return 1
@@ -383,7 +383,7 @@ class NetworkWindow(InstallWindow):
active = False
bootproto = self.devices[device].get("bootproto")
- if not bootproto or bootproto == "ask":
+ if not bootproto:
bootproto = 'dhcp'
self.devices[device].set(("bootproto", bootproto))