summaryrefslogtreecommitdiffstats
path: root/installclass.py
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2003-10-21 20:35:56 +0000
committerJeremy Katz <katzj@redhat.com>2003-10-21 20:35:56 +0000
commita42abf38afcba0d90affa662b7d254c799de8166 (patch)
treeca01b34e789b2f96c665470bf15647faff516fd2 /installclass.py
parent879a8f11f8b213498efb53cc97dbb146a9a5a1ae (diff)
downloadanaconda-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.py3
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)