Fix hosts file path
This commit is contained in:
parent
91bfe30cd4
commit
0d55e5bef9
1 changed files with 1 additions and 1 deletions
2
build.sh
2
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
|
||||
|
|
Reference in a new issue