]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
archlinux: Fix resolving
authorStéphane Graber <stgraber@ubuntu.com>
Thu, 13 Oct 2016 19:02:56 +0000 (15:02 -0400)
committerStéphane Graber <stgraber@ubuntu.com>
Fri, 18 Nov 2016 01:32:04 +0000 (20:32 -0500)
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
templates/lxc-archlinux.in

index c2e24e3e26784cf39352881a007ecd2bf0b5f558..0dee6f220621596febaac4cea89a1d7df79321ac 100755 (executable)
@@ -132,6 +132,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
     return 0
 }