diff options
-rw-r--r-- | setup-arch-vm | 6 |
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 |