diff --git a/build.sh b/build.sh index ce5ebb0..a3d5b07 100755 --- a/build.sh +++ b/build.sh @@ -201,7 +201,7 @@ install -m 644 files/interfaces "$ROOTFS_DIR/etc/network/interfaces" echo $HOSTNAME > "$ROOTFS_DIR/etc/hostname" chmod 644 "$ROOTFS_DIR/etc/hostname" -echo "127.0.1.1 $HOSTNAME" >>/etc/hosts +echo "127.0.1.1 $HOSTNAME" >>"$ROOTFS_DIR/etc/hosts" on_chroot << EOF if ! id -u $USERNAME >/dev/null 2>&1; then