summaryrefslogtreecommitdiffstats
path: root/textw
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 /textw
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 'textw')
-rw-r--r--textw/network_text.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/textw/network_text.py b/textw/network_text.py
index 797d71cf2..a1660aa75 100644
--- a/textw/network_text.py
+++ b/textw/network_text.py
@@ -270,7 +270,7 @@ class NetworkDeviceWindow:
maingrid = Grid(1, 3)
dhcpCb = radio.add(_("Dynamic IP configuration (DHCP)"),
- "dhcp", (bootproto in ["ask", "dhcp"]))
+ "dhcp", (bootproto == "dhcp"))
maingrid.setField(dhcpCb, 0, 0, growx = 1, anchorLeft = 1)
manualCb = radio.add(_("Manual address configuration"),
"static", (bootproto == "static"))
@@ -626,7 +626,7 @@ class NetworkDeviceWindow:
else:
onboot = _("Inactive on boot")
- if dev.get('bootproto').lower() in ['ask', 'dhcp']:
+ if dev.get('bootproto').lower() == 'dhcp':
ipv4 = _("DHCP")
else:
ipv4 = dev.get('ipaddr')