]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
lxc-debian: mask both Wheezy and Jessie udev services
authorCameron Norman <CameronNemo@users.noreply.github.com>
Mon, 1 Dec 2014 21:35:52 +0000 (13:35 -0800)
committerStéphane Graber <stgraber@ubuntu.com>
Tue, 2 Dec 2014 15:59:21 +0000 (10:59 -0500)
Signed-off-by: Cameron Norman <camerontnorman@gmail.com>
Acked-by: Stéphane Graber <stgraber@ubuntu.com>
templates/lxc-debian.in

index ba225f9052562ce923e5734199f72bfcc5188830..fd61222df358164a8835cbccc9a30e4125805ca7 100644 (file)
@@ -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