summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--setup-arch-vm4
1 files changed, 1 insertions, 3 deletions
diff --git a/setup-arch-vm b/setup-arch-vm
index d8afd4c..e6a19f6 100644
--- a/setup-arch-vm
+++ b/setup-arch-vm
@@ -62,9 +62,7 @@ Name=e*
$(get_url "http://$server/network/$hostname")
EOF
-cat <<EOF >/mnt/etc/resolv.conf
-nameserver 192.168.123.1
-EOF
+ln -sf /run/systemd/network/resolv.conf /mnt/etc/resolv.conf
ln -s /usr/share/zoneinfo/Europe/Vienna /mnt/etc/localtime
echo "en_US.UTF-8 UTF-8" > /mnt/etc/locale.gen