index : arch-boxes32 | |
Archlinux32 virtual machines - obsolete | gitolite user |
summaryrefslogtreecommitdiff |
author | Christian Rebischke <Chris.Rebischke@posteo.de> | 2017-05-07 06:55:13 +0200 |
---|---|---|
committer | Christian Rebischke <Chris.Rebischke@posteo.de> | 2017-05-07 06:55:13 +0200 |
commit | a7c15082fcc29f56911e0a36af4133b73e1c9e26 (patch) | |
tree | d58631d7e36aa8e15a2e40be530ce4df48f831bc /http/install-chroot.sh | |
parent | 61bd042c67cfd1ebe98a3ff6b7e6a6ce93dffd24 (diff) |
-rw-r--r-- | http/install-chroot.sh | 4 |
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 |