summaryrefslogtreecommitdiffstats
path: root/network.py
diff options
context:
space:
mode:
authorDavid Cantrell <dcantrell@redhat.com>2006-10-23 22:02:38 +0000
committerDavid Cantrell <dcantrell@redhat.com>2006-10-23 22:02:38 +0000
commitc626e81ff87b4a0311e2d6543da616e19c3c8624 (patch)
tree7eac0e856705166775dc5d74d9c3ca28c59a0aa7 /network.py
parent9767cb5fce174e8fcf28d06ad6f48384129a7cd4 (diff)
downloadanaconda-c626e81ff87b4a0311e2d6543da616e19c3c8624.tar.gz
anaconda-c626e81ff87b4a0311e2d6543da616e19c3c8624.tar.xz
anaconda-c626e81ff87b4a0311e2d6543da616e19c3c8624.zip
* network.py (Network): Write out ::1 in /etc/hosts as localhost6
rather than localhost (#211800).
Diffstat (limited to 'network.py')
-rw-r--r--network.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/network.py b/network.py
index f3735624b..0be4e8e44 100644
--- a/network.py
+++ b/network.py
@@ -499,7 +499,7 @@ class Network:
f.write("# Do not remove the following line, or various programs\n")
f.write("# that require network functionality will fail.\n")
f.write("127.0.0.1\t\t" + localline)
- f.write("::1\t\t" + localline)
+ f.write("::1\t\tlocalhost6.localdomain6 localhost6")
if ip:
nameline = "%s\t\t%s" % (ip, self.hostname)