mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-08-15 08:05:20 +00:00
lxc-busybox: use lxc.rebootsignal = SIGTERM
Otherwise lxc-stop -r has no effect on the container. Signed-off-by: Bogdan Purcareata <bogdan.purcareata@freescale.com> Acked-by: Serge E. Hallyn <serge.hallyn@ubuntu.com>
This commit is contained in:
parent
936762f3fb
commit
22fb28a946
@ -270,6 +270,7 @@ copy_configuration()
|
||||
grep -q "^lxc.rootfs" $path/config 2>/dev/null || echo "lxc.rootfs = $rootfs" >> $path/config
|
||||
cat <<EOF >> $path/config
|
||||
lxc.haltsignal = SIGUSR1
|
||||
lxc.rebootsignal = SIGTERM
|
||||
lxc.utsname = $name
|
||||
lxc.tty = 1
|
||||
lxc.pts = 1
|
||||
|
Loading…
Reference in New Issue
Block a user