diff options
author | Radek Vykydal <rvykydal@redhat.com> | 2012-07-16 16:02:27 +0200 |
---|---|---|
committer | Radek Vykydal <rvykydal@redhat.com> | 2012-07-20 14:18:44 +0200 |
commit | 462fe097d15fbfc95f4644a8ea1a3d7881a6dfa4 (patch) | |
tree | 1980f31961c2c95b01842fe2bcf46c846d4a7c33 /pyanaconda/vnc.py | |
parent | 103e966d8cd7747eafe62196a5217be6cfc83591 (diff) | |
download | anaconda-462fe097d15fbfc95f4644a8ea1a3d7881a6dfa4.tar.gz anaconda-462fe097d15fbfc95f4644a8ea1a3d7881a6dfa4.tar.xz anaconda-462fe097d15fbfc95f4644a8ea1a3d7881a6dfa4.zip |
remove Network(): hostname attribute
NM is setting hostname and we might be resetting it in kickstart.py.
It is stored in ksdata with unfortunate access (iterating over
network commands).
Hostname handling will need some more work in newui. Here I am just
giving another stab to Network() object.
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 a7ccc7643..b38f2333c 100644 --- a/pyanaconda/vnc.py +++ b/pyanaconda/vnc.py @@ -105,7 +105,7 @@ class VncServer: except Exception as e: log.debug("Exception caught trying to get host name of %s: %s" % (ipstr, e)) - self.name = network.getDefaultHostname(self.anaconda) + self.name = network.getHostname() else: if len(hinfo) == 3: self.name = hinfo[0] |