From: Felix Abecassis Date: Sat, 9 Dec 2017 00:58:41 +0000 (-0800) Subject: lxc-oci: add IPv6 support to /etc/hosts X-Git-Tag: lxc-3.0.0.beta1~125^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8f54d926c57b1c0b9b429da6841921bd8adc05ee;p=thirdparty%2Flxc.git lxc-oci: add IPv6 support to /etc/hosts Signed-off-by: Felix Abecassis --- diff --git a/templates/lxc-oci.in b/templates/lxc-oci.in index a213f7d56..3348745a0 100755 --- a/templates/lxc-oci.in +++ b/templates/lxc-oci.in @@ -308,6 +308,11 @@ EOF cat < ${LXC_ROOTFS}/etc/hosts 127.0.0.1 localhost 127.0.1.1 ${LXC_NAME} +::1 localhost ip6-localhost ip6-loopback +fe00::0 ip6-localnet +ff00::0 ip6-mcastprefix +ff02::1 ip6-allnodes +ff02::2 ip6-allrouters EOF uidgid=($(getuidgid ${OCI_CONF_FILE}))