]> git.proxmox.com Git - pve-container.git/commit
don't let lxc handle container reboots directly
authorWolfgang Bumiller <w.bumiller@proxmox.com>
Thu, 28 Jul 2016 14:23:19 +0000 (16:23 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Fri, 5 Aug 2016 08:51:41 +0000 (10:51 +0200)
commitfbeeb88f6ad4ee1080a45122010ed342f1868fb0
tree40bd043a789ad119592b8711e990f225f3899853
parente756bdd60ca84ce4fea4dc5a93298d4150fc8831
don't let lxc handle container reboots directly

LXC doesn't reload the configuration on reboot causing
hotplugged changes to not be persistent across
container-side reboots.
Instead, let the post-stop hook return false so that lxc
stops while starting up a new instance in the background
with the updated config.
src/lxc-pve-poststop-hook