Commit 98f5f7e2 by Cedric Bosdonnat Committed by Stéphane Graber
parent 57da8c32
...@@ -88,6 +88,9 @@ EOF ...@@ -88,6 +88,9 @@ EOF
ln -s ../getty@.service $rootfs/etc/systemd/system/getty.target.wants/getty@tty3.service ln -s ../getty@.service $rootfs/etc/systemd/system/getty.target.wants/getty@tty3.service
ln -s ../getty@.service $rootfs/etc/systemd/system/getty.target.wants/getty@tty4.service ln -s ../getty@.service $rootfs/etc/systemd/system/getty.target.wants/getty@tty4.service
# copy host poweroff target as sigpwr target to make shutdown work
# see https://wiki.archlinux.org/index.php/Linux_Containers#Container_cannot_be_shutdown_if_using_systemd
cp /usr/lib/systemd/system/poweroff.target $rootfs/usr/lib/systemd/system/sigpwr.target
touch $rootfs/etc/sysconfig/kernel touch $rootfs/etc/sysconfig/kernel
......
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