aboutsummaryrefslogtreecommitdiffstats
path: root/main/lxc/0001-lxc-alpine-enable-loopback-interface-by-default.patch
blob: 4d13d012485481f62f7f10742e98c2e65574ce8e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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