]> piware.de Git - bin.git/blobdiff - makechroot
add scandoc
[bin.git] / makechroot
index c9ad108c0f2d6c3c4c5d875f0cfeeca3026ed0c8..7188ad2a6cf294ffb9bc5d68b6d60580a7b722a5 100755 (executable)
@@ -14,6 +14,9 @@ debootstrap "$DIST" "$DIR" "$MIRROR"
 # debian_chroot
 echo $DIST > $DIR/etc/debian_chroot
 
+# hosts
+echo "127.0.0.1 localhost.localdomain localhost" > $DIR/etc/hosts
+
 # users
 perl -naF: -e 'print if $F[2] >= 1000 and $F[2] < 2000' /etc/passwd >> $DIR/etc/passwd