summaryrefslogtreecommitdiffstats
path: root/network.py
diff options
context:
space:
mode:
authorMike Fulbright <msf@redhat.com>2002-06-12 04:52:29 +0000
committerMike Fulbright <msf@redhat.com>2002-06-12 04:52:29 +0000
commit8ebe60d6333894695b4e43bb23f378b65d551d35 (patch)
tree47c65058477bc67a89bc93d5dca3a6c513d0c86f /network.py
parentc2f1f5ad4edbdc6e0aba16369c7d13a29385db1e (diff)
downloadanaconda-8ebe60d6333894695b4e43bb23f378b65d551d35.tar.gz
anaconda-8ebe60d6333894695b4e43bb23f378b65d551d35.tar.xz
anaconda-8ebe60d6333894695b4e43bb23f378b65d551d35.zip
add field so we know explicitly if dhcp hostname is being overridden manually or not
Diffstat (limited to 'network.py')
-rw-r--r--network.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/network.py b/network.py
index db3405799..d47a54648 100644
--- a/network.py
+++ b/network.py
@@ -95,6 +95,11 @@ class Network:
self.isConfigured = 0
self.hostname = "localhost.localdomain"
+ # this is only currently used in GUI
+ # elsewhere we test if the hostname is localhost.localdomain
+ # to see if its been override. Need some consolidation in future.
+ self.overrideDHCPhostname = 0
+
try:
f = open("/tmp/netinfo", "r")
except: