Commit 3d460a38 by Natanael Copa Committed by Stéphane Graber

lxc-alpine: enable loopback interface by default

It was probably disabled by a mistake Signed-off-by: 's avatarNatanael Copa <ncopa@alpinelinux.org> Acked-by: 's avatarStéphane Graber <stgraber@ubuntu.com>
parent 01dae5c4
...@@ -110,9 +110,8 @@ EOF ...@@ -110,9 +110,8 @@ EOF
grep nameserver /etc/resolv.conf > "$rootfs/etc/resolv.conf" grep nameserver /etc/resolv.conf > "$rootfs/etc/resolv.conf"
# configure the network using the dhcp # configure the network using the dhcp
# note that lxc will set up lo interface
cat <<EOF > $rootfs/etc/network/interfaces cat <<EOF > $rootfs/etc/network/interfaces
#auto lo auto lo
iface lo inet loopback iface lo inet loopback
auto eth0 auto eth0
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment