From: Cameron Norman Date: Mon, 1 Dec 2014 21:35:52 +0000 (-0800) Subject: lxc-debian: mask both Wheezy and Jessie udev services X-Git-Tag: lxc-1.1.0.alpha3~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4de03d375b49e7749605c8a45abc898317833f3f;p=thirdparty%2Flxc.git lxc-debian: mask both Wheezy and Jessie udev services Signed-off-by: Cameron Norman Acked-by: Stéphane Graber --- 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