summaryrefslogtreecommitdiffstats
path: root/network.py
diff options
context:
space:
mode:
authorDavid Cantrell <dcantrell@redhat.com>2008-12-23 18:02:46 -1000
committerDavid Cantrell <dcantrell@redhat.com>2008-12-23 18:02:46 -1000
commit12ae3f3a4895f8f24f6398f58d4d70c2002df6d6 (patch)
tree5d9754f8c1e35fde25288fc90c30884b9a8d7007 /network.py
parentf6d062eca0c71b252515b77e11d0dbbea22c67ad (diff)
downloadanaconda-12ae3f3a4895f8f24f6398f58d4d70c2002df6d6.tar.gz
anaconda-12ae3f3a4895f8f24f6398f58d4d70c2002df6d6.tar.xz
anaconda-12ae3f3a4895f8f24f6398f58d4d70c2002df6d6.zip
Initialize domainname to None (#477831)
Diffstat (limited to 'network.py')
-rw-r--r--network.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/network.py b/network.py
index a2624cf76..b50605e95 100644
--- a/network.py
+++ b/network.py
@@ -645,6 +645,7 @@ class Network:
shutil.move(newnetwork, destnetwork)
# /etc/hosts
+ domainname = None
if not os.path.isfile(instPath + "/etc/hosts"):
f = open(instPath + "/etc/hosts", "w")