summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorAndreas Loibl <andreas@andreas-loibl.de>2011-09-14 23:50:26 +0200
committerAndreas Loibl <andreas@andreas-loibl.de>2011-09-14 23:50:26 +0200
commit14f39b67ae34f7f4ea10e68ba36e4ac624dc8930 (patch)
tree5215da5c6fb02e531d0496449574567b55ad2c0b /config
parent5ff70ab88b78950ab7d3db9493b682c62a0a6247 (diff)
downloadkanotix-14f39b67ae34f7f4ea10e68ba36e4ac624dc8930.zip
kanotix-14f39b67ae34f7f4ea10e68ba36e4ac624dc8930.tar.gz
use a loopback-only /etc/network/interfaces (because of network-manager)
Diffstat (limited to 'config')
-rwxr-xr-xconfig/chroot_local-hooks/hotfixes.sh10
1 files changed, 10 insertions, 0 deletions
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
+