From: Stéphane Graber Date: Thu, 13 Oct 2016 19:02:56 +0000 (-0400) Subject: archlinux: Fix resolving X-Git-Tag: lxc-2.1.0~302^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F1229%2Fhead;p=thirdparty%2Flxc.git archlinux: Fix resolving Signed-off-by: Stéphane Graber --- 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:]")