summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2014-05-07 22:49:47 +0200
committerFlorian Pritz <bluewind@xinu.at>2014-05-07 22:49:47 +0200
commit141a878133b9008a556fc76f421fc2500a914199 (patch)
tree5ea221409c35e79a5de2fc8de7becc14caa2875a
parent997b528911b906a9559ac030b1a7a789401f4d13 (diff)
downloadbin-141a878133b9008a556fc76f421fc2500a914199.tar.gz
bin-141a878133b9008a556fc76f421fc2500a914199.tar.xz
setup-arch-vm: disable dhcpcd
Signed-off-by: Florian Pritz <bluewind@xinu.at>
-rw-r--r--setup-arch-vm6
1 files changed, 5 insertions, 1 deletions
diff --git a/setup-arch-vm b/setup-arch-vm
index dcadc9a..d8afd4c 100644
--- a/setup-arch-vm
+++ b/setup-arch-vm
@@ -62,6 +62,10 @@ Name=e*
$(get_url "http://$server/network/$hostname")
EOF
+cat <<EOF >/mnt/etc/resolv.conf
+nameserver 192.168.123.1
+EOF
+
ln -s /usr/share/zoneinfo/Europe/Vienna /mnt/etc/localtime
echo "en_US.UTF-8 UTF-8" > /mnt/etc/locale.gen
arch-chroot /mnt locale-gen
@@ -125,7 +129,7 @@ arch-chroot /mnt passwd -d $newuser
curl https://git.server-speed.net/users/flo/bin/plain/init_new_user.sh | arch-chroot /mnt sudo -u $newuser bash
arch-chroot /mnt chsh -s /bin/zsh $newuser
-arch-chroot /mnt systemctl enable multi-user.target sshd haveged dhcpcd systemd-networkd
+arch-chroot /mnt systemctl enable multi-user.target sshd haveged systemd-networkd
sync
systemctl reboot