diff options
author | Jeremy Katz <katzj@redhat.com> | 2003-10-21 20:35:56 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2003-10-21 20:35:56 +0000 |
commit | a42abf38afcba0d90affa662b7d254c799de8166 (patch) | |
tree | ca01b34e789b2f96c665470bf15647faff516fd2 /installclass.py | |
parent | 879a8f11f8b213498efb53cc97dbb146a9a5a1ae (diff) | |
download | anaconda-a42abf38afcba0d90affa662b7d254c799de8166.tar.gz anaconda-a42abf38afcba0d90affa662b7d254c799de8166.tar.xz anaconda-a42abf38afcba0d90affa662b7d254c799de8166.zip |
fix overzealous overriding of hostname for dhcp
Diffstat (limited to 'installclass.py')
-rw-r--r-- | installclass.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/installclass.py b/installclass.py index d5f043f6f..d44ff9021 100644 --- a/installclass.py +++ b/installclass.py @@ -236,8 +236,9 @@ class BaseInstallClass: #if (todo.instClass.x): #apply (todo.instClass.x.setKeyboard, xkb) - def setHostname(self, id, hostname): + def setHostname(self, id, hostname, override = 0): id.network.setHostname(hostname); + id.network.overrideDHCPhostname = override def setNameserver(self, id, nameserver): id.network.setDNS(nameserver) |