summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2014-05-18 23:37:59 +0200
committerFlorian Pritz <bluewind@xinu.at>2014-05-18 23:37:59 +0200
commitd55ea94b9a0535aa11dd442f3b98e240f73cba6d (patch)
tree3b7533efc1e65677e49557c5b8ab41f1992a69d9
parent4202255012a7c6ab2b5a82e546ac3332332e07e1 (diff)
downloadbin-d55ea94b9a0535aa11dd442f3b98e240f73cba6d.tar.gz
bin-d55ea94b9a0535aa11dd442f3b98e240f73cba6d.tar.xz
setup-arch-vm: symlink resolv.conf from networkd
Signed-off-by: Florian Pritz <bluewind@xinu.at>
-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