From 4ae53085b173ed57acacebcd3e199abe2cb77a60 Mon Sep 17 00:00:00 2001 From: Roy Li Date: Wed, 27 Jan 2016 16:00:19 +0800 Subject: netbase: add ipv6 host to /etc/hosts There is a script in netbase, debian/netbase.postinst, which create /etc/hosts, but it is not called, so ipv6 host is missing. now copy them from Ubuntu; and add localhost as alias of ::1 Signed-off-by: Roy Li Signed-off-by: Ross Burton --- meta/recipes-core/netbase/netbase/hosts | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'meta/recipes-core/netbase') diff --git a/meta/recipes-core/netbase/netbase/hosts b/meta/recipes-core/netbase/netbase/hosts index 2f332451b5..b94f414d5c 100644 --- a/meta/recipes-core/netbase/netbase/hosts +++ b/meta/recipes-core/netbase/netbase/hosts @@ -1,2 +1,8 @@ 127.0.0.1 localhost.localdomain localhost +# The following lines are desirable for IPv6 capable hosts +::1 localhost ip6-localhost ip6-loopback +fe00::0 ip6-localnet +ff00::0 ip6-mcastprefix +ff02::1 ip6-allnodes +ff02::2 ip6-allrouters -- cgit 1.2.3-korg