summaryrefslogtreecommitdiffstats
path: root/rescue.py
diff options
context:
space:
mode:
authorDavid Cantrell <dcantrell@redhat.com>2008-09-23 16:12:23 -1000
committerDavid Cantrell <dcantrell@redhat.com>2008-09-24 16:09:22 -1000
commite150ff01131c49c9b1876d21aaf508c0876f2722 (patch)
tree3e7ea4443a1476d7c40ac0740825cbb694191ff3 /rescue.py
parent4d01f8375a8ce64a9363f0cf24546fe5eb9e1168 (diff)
downloadanaconda-e150ff01131c49c9b1876d21aaf508c0876f2722.tar.gz
anaconda-e150ff01131c49c9b1876d21aaf508c0876f2722.tar.xz
anaconda-e150ff01131c49c9b1876d21aaf508c0876f2722.zip
Fix problems with bringDeviceUp() calls (#463512)
Changed bringDeviceUp() in network.py to bringUp() since it really just writes out all new network configuration information and lets NetworkManager take over from there. Correct the calls to this method so we don't get tracebacks anymore.
Diffstat (limited to 'rescue.py')
-rw-r--r--rescue.py10
1 files changed, 1 insertions, 9 deletions
diff --git a/rescue.py b/rescue.py
index 4376bddab..92c89c739 100644
--- a/rescue.py
+++ b/rescue.py
@@ -143,15 +143,7 @@ def startNetworking(network, intf):
log.error("Error trying to start lo in rescue.py::startNetworking()")
# start up dhcp interfaces first
- devs = network.netdevices.keys()
- devs.sort()
- for devname in devs:
- dev = network.netdevices[devname]
- waitwin = intf.waitWindow(_("Starting Interface"),
- _("Attempting to start %s") % (dev.get('device'),))
- log.info("Attempting to start %s", dev.get('DEVICE'))
- dev.bringDeviceUp()
- waitwin.pop()
+ network.bringUp()
def runShell(screen = None, msg=""):
if screen: