diff options
author | David Cantrell <dcantrell@redhat.com> | 2008-09-23 16:12:23 -1000 |
---|---|---|
committer | David Cantrell <dcantrell@redhat.com> | 2008-09-24 16:09:22 -1000 |
commit | e150ff01131c49c9b1876d21aaf508c0876f2722 (patch) | |
tree | 3e7ea4443a1476d7c40ac0740825cbb694191ff3 /network.py | |
parent | 4d01f8375a8ce64a9363f0cf24546fe5eb9e1168 (diff) | |
download | anaconda-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 'network.py')
-rw-r--r-- | network.py | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/network.py b/network.py index 51ca94ec1..10cb62dc2 100644 --- a/network.py +++ b/network.py @@ -385,10 +385,6 @@ class Network: return None if not hasActiveNetDev(): - for dev in self.netdevices.values(): - dev.bringDeviceUp() - - if not hasActiveNetDev(): log.warning("no network devices were available to look up host name") return None @@ -637,5 +633,5 @@ class Network: # write out current configuration state and wait for NetworkManager # to bring the device up - def bringDeviceUp(self): + def bringUp(self): self.write() |