aboutsummaryrefslogtreecommitdiffstats
path: root/main/lxc/0001-lxc-alpine-enable-loopback-interface-by-default.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/lxc/0001-lxc-alpine-enable-loopback-interface-by-default.patch')
-rw-r--r--main/lxc/0001-lxc-alpine-enable-loopback-interface-by-default.patch34
1 files changed, 34 insertions, 0 deletions
diff --git a/main/lxc/0001-lxc-alpine-enable-loopback-interface-by-default.patch b/main/lxc/0001-lxc-alpine-enable-loopback-interface-by-default.patch
new file mode 100644
index 0000000000..4d13d01248
--- /dev/null
+++ b/main/lxc/0001-lxc-alpine-enable-loopback-interface-by-default.patch
@@ -0,0 +1,34 @@
+From 3d460a3856376a043b3fa9addee50f89d21fa747 Mon Sep 17 00:00:00 2001
+From: Natanael Copa <ncopa@alpinelinux.org>
+Date: Wed, 16 Oct 2013 14:55:31 +0200
+Subject: [PATCH] lxc-alpine: enable loopback interface by default
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+It was probably disabled by a mistake
+
+Signed-off-by: Natanael Copa <ncopa@alpinelinux.org>
+Acked-by: Stéphane Graber <stgraber@ubuntu.com>
+---
+ templates/lxc-alpine.in | 3 +--
+ 1 file changed, 1 insertion(+), 2 deletions(-)
+
+diff --git a/templates/lxc-alpine.in b/templates/lxc-alpine.in
+index 05aec74..5fdf36f 100644
+--- a/templates/lxc-alpine.in
++++ b/templates/lxc-alpine.in
+@@ -110,9 +110,8 @@ EOF
+ grep nameserver /etc/resolv.conf > "$rootfs/etc/resolv.conf"
+
+ # configure the network using the dhcp
+- # note that lxc will set up lo interface
+ cat <<EOF > $rootfs/etc/network/interfaces
+-#auto lo
++auto lo
+ iface lo inet loopback
+
+ auto eth0
+--
+1.8.4.1
+