diff options
author | Chris Lumens <clumens@redhat.com> | 2008-10-03 13:42:23 -0400 |
---|---|---|
committer | Chris Lumens <clumens@redhat.com> | 2008-10-03 13:42:23 -0400 |
commit | 635aa7d8395859e9977efdb09be5aa033a7cbef9 (patch) | |
tree | 84ad763d0749cf2f4758860f65d03da3bdc41046 /vnc.py | |
parent | 7a971c098374a2b961434c6a242aa86544ca808c (diff) | |
download | anaconda-635aa7d8395859e9977efdb09be5aa033a7cbef9.tar.gz anaconda-635aa7d8395859e9977efdb09be5aa033a7cbef9.tar.xz anaconda-635aa7d8395859e9977efdb09be5aa033a7cbef9.zip |
Correctly display the IP address a vnc viewer should connect to (#465353).
Diffstat (limited to 'vnc.py')
-rw-r--r-- | vnc.py | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -108,14 +108,14 @@ class VncServer: dev = devices[list[0]] try: - self.ip = isys.getIPAddress(dev) - log.info("ip of %s is %s" % (dev, self.ip)) + self.ip = isys.getIPAddress(dev.get("DEVICE")) + log.info("ip of %s is %s" % (dev.get("DEVICE"), self.ip)) if self.ip == "127.0.0.1" or self.ip == "::1": self.ip = None except Exception, e: log.warning("Got an exception trying to get the self.ip addr " - "of %s: %s" % (dev, e)) + "of %s: %s" % (dev.get("DEVICE"), e)) # If we have a real hostname that resolves against configured DNS # servers, use that for the name to connect to. |