From a7c15082fcc29f56911e0a36af4133b73e1c9e26 Mon Sep 17 00:00:00 2001 From: Christian Rebischke Date: Sun, 7 May 2017 06:55:13 +0200 Subject: added systemd-resolved + rankmirrors --- http/install-chroot.sh | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'http/install-chroot.sh') 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 -- cgit v1.2.3-54-g00ecf