diff options
author | David Cantrell <dcantrell@redhat.com> | 2008-09-23 17:31:45 -1000 |
---|---|---|
committer | David Cantrell <dcantrell@redhat.com> | 2008-09-24 16:09:22 -1000 |
commit | 92d658eaebb801c7467716f183d32b0dae6c9499 (patch) | |
tree | 558af7d4e43d08ee1e7ed923b4cb5af724da7b6d /vnc.py | |
parent | af8c639754dcc81f34652b29bcf5e3a90b1d6863 (diff) | |
download | anaconda-92d658eaebb801c7467716f183d32b0dae6c9499.tar.gz anaconda-92d658eaebb801c7467716f183d32b0dae6c9499.tar.xz anaconda-92d658eaebb801c7467716f183d32b0dae6c9499.zip |
Get rid of firstnetdevice in Network
At least for now, I see no need for firstnetdevice in the same way
before we started using NetworkManager. Might have to come back
for specific cases, but I don't think it's necessary.
Diffstat (limited to 'vnc.py')
-rw-r--r-- | vnc.py | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -101,7 +101,10 @@ class VncServer: # Look for the first configured interface and use its IP address for # the computer to connect to. - dev = netinfo.getFirstDeviceName() + devices = netinfo.netdevices + list = devices.keys() + list.sort() + dev = devices[list[0]] try: self.ip = isys.getIPAddress(dev) |