From 0823a4c6f5c364bc6869f756e806365edbf23884 Mon Sep 17 00:00:00 2001 From: Martin Pitt Date: Sat, 5 Jan 2008 21:08:57 +0100 Subject: [PATCH] makechroot: create hosts file --- makechroot | 3 +++ 1 file changed, 3 insertions(+) diff --git a/makechroot b/makechroot index c9ad108..7188ad2 100755 --- a/makechroot +++ b/makechroot @@ -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 -- 2.39.5