summaryrefslogtreecommitdiffstats
path: root/network.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 /network.py
parent879a8f11f8b213498efb53cc97dbb146a9a5a1ae (diff)
downloadanaconda-a42abf38afcba0d90affa662b7d254c799de8166.tar.gz
anaconda-a42abf38afcba0d90affa662b7d254c799de8166.tar.xz
anaconda-a42abf38afcba0d90affa662b7d254c799de8166.zip
fix overzealous overriding of hostname for dhcp
Diffstat (limited to 'network.py')
-rw-r--r--network.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/network.py b/network.py
index 99d5a1a69..28b3dada9 100644
--- a/network.py
+++ b/network.py
@@ -184,8 +184,6 @@ class Network:
self.domains.append(info["DOMAIN"])
if info.has_key("HOSTNAME"):
self.hostname = info["HOSTNAME"]
- if info.has_key("BOOTPROTO") and info["BOOTPROTO"] == "dhcp":
- self.overrideDHCPhostname = 1
try:
f = open("/etc/resolv.conf", "r")