diff options
author | Radek Vykydal <rvykydal@redhat.com> | 2010-11-02 16:25:53 +0100 |
---|---|---|
committer | Radek Vykydal <rvykydal@redhat.com> | 2010-11-03 10:47:07 +0100 |
commit | 151b4b0b56a47b3823880d6c5dea051e616d2134 (patch) | |
tree | 15a9dcc333cebda8dd9f1ab11d4bdd80246bec83 /pyanaconda/vnc.py | |
parent | 517213ccdf0cacd499053d9e6c57f1fbbfae6f29 (diff) | |
download | anaconda-151b4b0b56a47b3823880d6c5dea051e616d2134.tar.gz anaconda-151b4b0b56a47b3823880d6c5dea051e616d2134.tar.xz anaconda-151b4b0b56a47b3823880d6c5dea051e616d2134.zip |
Do not rely on presence of DEVICE setting in ifcfg files.
nm-c-e is not writing it out, and we can stumble over it
in Live CD environment, see bz #648635 for example.
Diffstat (limited to 'pyanaconda/vnc.py')
-rw-r--r-- | pyanaconda/vnc.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pyanaconda/vnc.py b/pyanaconda/vnc.py index 0e2241728..2760dbd7b 100644 --- a/pyanaconda/vnc.py +++ b/pyanaconda/vnc.py @@ -108,7 +108,7 @@ class VncServer: dev = devices[active_devs[0]] try: - devname = dev.get("DEVICE") + devname = dev.iface ips = (isys.getIPAddresses(devname, version=4) + isys.getIPAddresses(devname, version=6)) self.ip = ips[0] |