diff options
author | David Cantrell <dcantrell@redhat.com> | 2006-10-23 22:02:38 +0000 |
---|---|---|
committer | David Cantrell <dcantrell@redhat.com> | 2006-10-23 22:02:38 +0000 |
commit | c626e81ff87b4a0311e2d6543da616e19c3c8624 (patch) | |
tree | 7eac0e856705166775dc5d74d9c3ca28c59a0aa7 | |
parent | 9767cb5fce174e8fcf28d06ad6f48384129a7cd4 (diff) | |
download | anaconda-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).
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | network.py | 2 |
2 files changed, 4 insertions, 1 deletions
@@ -8,6 +8,9 @@ * anaconda.spec: Require libdhcp-1.16 or higher (#201907) + * network.py (Network): Write out ::1 in /etc/hosts as localhost6 + rather than localhost (#211800). + 2006-10-23 Jeremy Katz <katzj@redhat.com> * lang-table: Add Sinhala (#207426) 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) |