diff options
author | Florian Pritz <bluewind@xinu.at> | 2014-08-06 13:31:27 +0200 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2014-08-06 13:31:27 +0200 |
commit | ac7ae65b1ef20fcfa00ffab1ccd08d6327a1854f (patch) | |
tree | d38219b8ea5c521b0426736b46540925d01a1ea8 /setup-arch-vm | |
parent | 28c00e2d22c0288ad8eced897b4966046742d5ff (diff) | |
download | bin-ac7ae65b1ef20fcfa00ffab1ccd08d6327a1854f.tar.gz bin-ac7ae65b1ef20fcfa00ffab1ccd08d6327a1854f.tar.xz |
setup-arch-vm: fix network stuff
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'setup-arch-vm')
-rw-r--r-- | setup-arch-vm | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/setup-arch-vm b/setup-arch-vm index db67d09..2dac5b1 100644 --- a/setup-arch-vm +++ b/setup-arch-vm @@ -33,8 +33,6 @@ cmdline_arg() { grep -qE '^flags\s+: .* hypervisor( |$)' /proc/cpuinfo || die "Not running in hypervisor. aborting automatic setup" -dhcpcd -b eth0 - # wait for host to be reachable (including dns query) while ! ping -c1 -W0.3 "$pingcheckhost" >/dev/null; do sleep 0.2 @@ -127,8 +125,8 @@ 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 systemd-networkd -ln -sf /run/systemd/network/resolv.conf /mnt/etc/resolv.conf +arch-chroot /mnt systemctl enable multi-user.target sshd haveged systemd-networkd systemd-resolved +ln -sf /run/systemd/resolve/resolv.conf /mnt/etc/resolv.conf sync systemctl reboot |