summaryrefslogtreecommitdiffstats
path: root/network.py
diff options
context:
space:
mode:
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")