From 137162e84759b9e172ff8e563170bd4f274ff3a3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?St=C3=A9phane=20Graber?= Date: Thu, 13 Oct 2016 15:02:56 -0400 Subject: [PATCH] archlinux: Fix resolving MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Stéphane Graber --- templates/lxc-archlinux.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/templates/lxc-archlinux.in b/templates/lxc-archlinux.in index 9d4326e8c..c52459d70 100644 --- a/templates/lxc-archlinux.in +++ b/templates/lxc-archlinux.in @@ -122,6 +122,8 @@ pacman-key --populate archlinux # enable networkd systemctl enable systemd-networkd +systemctl enable systemd-resolved +ln -sf /run/systemd/resolve/resolv.conf /etc/resolv.conf EOF # enable getty on active ttys local nttys=$(cat "${config_path}/config" ${shared_config} ${common_config} | grep "^lxc.tty" | head -n1 | cut -d= -f2 | tr -d "[:blank:]") -- 2.47.2