Commit 969f8964 by Cameron Norman Committed by Stéphane Graber

lxc-debian: mask both Wheezy and Jessie udev services

parent 9b1762ef
...@@ -199,6 +199,7 @@ configure_debian_systemd() ...@@ -199,6 +199,7 @@ configure_debian_systemd()
# This function has been copied and adapted from lxc-fedora # This function has been copied and adapted from lxc-fedora
rm -f ${rootfs}/etc/systemd/system/default.target rm -f ${rootfs}/etc/systemd/system/default.target
touch ${rootfs}/etc/fstab 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 /dev/null /etc/systemd/system/systemd-udevd.service
chroot ${rootfs} ln -s /lib/systemd/system/multi-user.target /etc/systemd/system/default.target chroot ${rootfs} ln -s /lib/systemd/system/multi-user.target /etc/systemd/system/default.target
# Make systemd honor SIGPWR # Make systemd honor SIGPWR
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment