Set correct hostname in /etc/hosts

This commit is contained in:
Julian Kornberger
2020-03-09 18:09:20 +01:00
parent 5ff5bcba83
commit df1bfa3f4d
2 changed files with 2 additions and 2 deletions

View File

@@ -588,7 +588,7 @@ echo "======= setting up the network =========="
echo "$v_hostname" > $c_zfs_mount_dir/etc/hostname
cat > "$c_zfs_mount_dir/etc/hosts" <<CONF
127.0.1.1 terem terem
127.0.1.1 ${v_hostname}
127.0.0.1 localhost
# The following lines are desirable for IPv6 capable hosts