From: Brett Parker Date: Sun, 22 May 2016 10:03:09 +0000 (+0100) Subject: More systemd changes X-Git-Url: https://git.sommitrealweird.co.uk/lxc-debian-unprivileged.git/commitdiff_plain/ca64ca60d4154c6e7f530ebd47bc81b7d1c7a440 More systemd changes --- diff --git a/templates/lxc-debian-unprivileged b/templates/lxc-debian-unprivileged index 8673944..7c6abd1 100755 --- a/templates/lxc-debian-unprivileged +++ b/templates/lxc-debian-unprivileged @@ -223,6 +223,10 @@ if [ -e "${LXC_ROOTFS}/etc/systemd/system/" ]; then chroot "${LXC_ROOTFS}" ln -s /lib/systemd/system/halt.target /etc/systemd/system/sigpwr.target fi +if [ -e "${LXC_ROOTFS}/lib/systemd/system/systemd-journald-audit.socket" ]; then + touch "${LXC_ROOTFS}/etc/systemd/system/systemd-journald-audit.socket" +fi + cat <> "${LXC_ROOTFS}${NETWORK_FILE}" auto eth0 iface eth0 inet dhcp