]> spindle.queued.net Git - xodist/commitdiff
merge lunge
authorJames Cameron <quozl@laptop.org>
Sun, 26 Oct 2008 00:08:40 +0000 (11:08 +1100)
committerJames Cameron <quozl@laptop.org>
Sun, 26 Oct 2008 00:08:40 +0000 (11:08 +1100)
initchroot.sh

index cce9f0447bbd381e6713260cf7471814bbd2e1cb..565a18c5e0102102a9d066ba4c6630f6b48ba93e 100755 (executable)
@@ -232,6 +232,12 @@ 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 <<EOF >> ${ROOT_DIR}/etc/network/interfaces
+auto lo
+iface lo inet loopback
+EOF
+
 # configure sugar
 if [ -d ${ROOT_DIR}/usr/share/sugar ]; then
     # #?