From 4de03d375b49e7749605c8a45abc898317833f3f Mon Sep 17 00:00:00 2001 From: Cameron Norman Date: Mon, 1 Dec 2014 13:35:52 -0800 Subject: [PATCH] lxc-debian: mask both Wheezy and Jessie udev services MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Cameron Norman Acked-by: Stéphane Graber --- templates/lxc-debian.in | 1 + 1 file changed, 1 insertion(+) diff --git a/templates/lxc-debian.in b/templates/lxc-debian.in index ba225f905..fd61222df 100644 --- a/templates/lxc-debian.in +++ b/templates/lxc-debian.in @@ -210,6 +210,7 @@ configure_debian_systemd() # This function has been copied and adapted from lxc-fedora rm -f ${rootfs}/etc/systemd/system/default.target touch ${rootfs}/etc/fstab + chroot ${rootfs} ln -s /dev/null /etc/systemd/system/udev.service chroot ${rootfs} ln -s /dev/null /etc/systemd/system/systemd-udevd.service chroot ${rootfs} ln -s /lib/systemd/system/multi-user.target /etc/systemd/system/default.target # Make systemd honor SIGPWR -- 2.47.2