Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/http/install-chroot.sh
diff options
context:
space:
mode:
Diffstat (limited to 'http/install-chroot.sh')
-rw-r--r--http/install-chroot.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/http/install-chroot.sh b/http/install-chroot.sh
index e779158..af83213 100644
--- a/http/install-chroot.sh
+++ b/http/install-chroot.sh
@@ -37,9 +37,13 @@ Name=eth0
DHCP=ipv4
EOF
+systemctl start systemd-resolved
+ln -sf /var/run/systemd/resolve/resolv.conf /etc/resolv.conf
+
# enabling important services
systemctl enable sshd
systemctl enable systemd-networkd
+systemctl enable systemd-resolved
grub-install "$device"
sed -i -e 's/^GRUB_TIMEOUT=.*$/GRUB_TIMEOUT=1/' /etc/default/grub