From 14f39b67ae34f7f4ea10e68ba36e4ac624dc8930 Mon Sep 17 00:00:00 2001
From: Andreas Loibl <andreas@andreas-loibl.de>
Date: Wed, 14 Sep 2011 23:50:26 +0200
Subject: use a loopback-only /etc/network/interfaces (because of
 network-manager)

---
 config/chroot_local-hooks/hotfixes.sh | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/config/chroot_local-hooks/hotfixes.sh b/config/chroot_local-hooks/hotfixes.sh
index 9a3438a..1c8f5b5 100755
--- a/config/chroot_local-hooks/hotfixes.sh
+++ b/config/chroot_local-hooks/hotfixes.sh
@@ -53,3 +53,13 @@ alias rm='rm -i'
 alias cp='cp -i'
 alias mv='mv -i'
 EOT
+
+# /etc/network/interfaces that works with network-manager
+cat <<EOT > /etc/network/interfaces
+# Used by ifup(8) and ifdown(8). See the interfaces(5) manpage or
+# /usr/share/doc/ifupdown/examples for more information.
+
+auto lo
+iface lo inet loopback
+EOT
+
-- 
cgit v1.0