summaryrefslogtreecommitdiff
path: root/templates/hosts.debian.tmpl
diff options
context:
space:
mode:
authorRichard Hansen <rhansen@rhansen.org>2021-09-16 10:12:41 -0400
committerGitHub <noreply@github.com>2021-09-16 09:12:41 -0500
commitd4fe7bc4c320023263075258027eae210e7497e1 (patch)
tree21612b4efc0e90b1609ac9a97d65c285bdc2f6d6 /templates/hosts.debian.tmpl
parent023f97d4e64c267b8bd809510b3fc75fcb9da688 (diff)
downloadvyos-cloud-init-d4fe7bc4c320023263075258027eae210e7497e1.tar.gz
vyos-cloud-init-d4fe7bc4c320023263075258027eae210e7497e1.zip
Update IPv6 entries in /etc/hosts (#1021)
Add IPv6 localhost (::1) entry. See: https://salsa.debian.org/installer-team/netcfg/-/blob/1767c9264e04652b9150ffc7b25568e4ea6b2bdd/netcfg.h#L42 https://salsa.debian.org/md/netbase/-/blob/9de8afcad482418cc4956dc09bbf6a2e8624d574/debian/netbase.postinst#L8 Also remove ip6-localnet, ip6-mcastprefix, and ip6-allhosts. See: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=499800 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=688090 LP: #1943798
Diffstat (limited to 'templates/hosts.debian.tmpl')
-rw-r--r--templates/hosts.debian.tmpl5
1 files changed, 1 insertions, 4 deletions
diff --git a/templates/hosts.debian.tmpl b/templates/hosts.debian.tmpl
index 7e29907a..afeccf9a 100644
--- a/templates/hosts.debian.tmpl
+++ b/templates/hosts.debian.tmpl
@@ -17,10 +17,7 @@ you need to add the following to config:
127.0.0.1 localhost
# The following lines are desirable for IPv6 capable hosts
-::1 ip6-localhost ip6-loopback
-fe00::0 ip6-localnet
-ff00::0 ip6-mcastprefix
+::1 localhost ip6-localhost ip6-loopback
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
-ff02::3 ip6-allhosts