From: James Cameron Date: Sun, 26 Oct 2008 22:48:48 +0000 (-0400) Subject: initchroot: the loopback interface was missing from the default install X-Git-Tag: v0.3~18 X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?p=xodist;a=commitdiff_plain;h=806b98288d7e8eb0698424301480d0e2ce5b1629 initchroot: the loopback interface was missing from the default install Signed-off-by: Andres Salomon --- diff --git a/initchroot.sh b/initchroot.sh index cce9f04..91f364a 100755 --- a/initchroot.sh +++ b/initchroot.sh @@ -232,6 +232,13 @@ rm -rf ${ROOT_DIR}/home/*; # i have no idea what's adding this crap... (chroot ${ROOT_DIR} adduser ${DEFUSER} floppy) echo "${DEFUSER} ALL=(ALL) NOPASSWD: ALL" >> ${ROOT_DIR}/etc/sudoers +# add local network interface +cat >>${ROOT_DIR}/etc/network/interfaces<