]> git.proxmox.com Git - pve-container.git/commit
add lxc-pve-poststop-hook and move vm_stop_cleanup
authorAlexandre Derumier <aderumier@odiso.com>
Tue, 18 Aug 2015 03:56:06 +0000 (05:56 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Tue, 18 Aug 2015 04:52:50 +0000 (06:52 +0200)
commit32e6d6593f2a912cdad42c8778784f873cfb26da
treec57cc9c09c866f18ff1ec20a568f3f1f82b74103
parentbf9d912c2d4b3ea1baf8af69bb35123d35314c9f
add lxc-pve-poststop-hook and move vm_stop_cleanup

It's better to vm_stop_cleanup inside poststop hook,
in case of CT failure (wrong start for example)

Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
src/Makefile
src/PVE/API2/LXC.pm
src/lxc-pve-poststop-hook [new file with mode: 0755]
src/lxc-pve.conf