]> 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 16:52:40 +0000 (11:52 -0500)
Signed-off-by: Cameron Norman <camerontnorman@gmail.com>
Acked-by: Stéphane Graber <stgraber@ubuntu.com>
templates/lxc-debian.in

index bf36ab82eca1421139f8741bfd2c22ec33c05cab..f6446cdc033248f13e77edc15c9ea3f0d020969b 100644 (file)
@@ -199,6 +199,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