From 141a878133b9008a556fc76f421fc2500a914199 Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Wed, 7 May 2014 22:49:47 +0200 Subject: setup-arch-vm: disable dhcpcd Signed-off-by: Florian Pritz --- setup-arch-vm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'setup-arch-vm') 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 </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 -- cgit v1.2.3-24-g4f1b