From 0d55e5bef99380e113df0a6db4235bbaa370cbc8 Mon Sep 17 00:00:00 2001 From: Braiden Vasco Date: Mon, 3 Jul 2017 08:41:53 +0000 Subject: [PATCH] Fix hosts file path --- build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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