this patch series implements the ability to reboot containers (main reason being to apply pending changes).
most of the code is same/very similar with the qemu counterpart. i made the choice of using separate reboot triggers instead of the ones already used in prestart etc. hooks. the separate triggers in /run/lxc/$vmid.reboot make it possible to differentiate between an API reboot request and a reboot request from within the container. (also wanted to make it as similar to qemu as possible). since the helper code around reboot triggers is pretty much the same, we could move these to guest-common in the future. pve-container: Oguz Bektas (4): add reboot helpers to be used by containers clear reboot request in vm_start api: add reboot api call pct: add 'pct reboot' src/PVE/API2/LXC/Status.pm | 52 ++++++++++++++++++++++++++++++++++++++ src/PVE/CLI/pct.pm | 3 ++- src/PVE/LXC.pm | 44 ++++++++++++++++++++++++++++++++ 3 files changed, 98 insertions(+), 1 deletion(-) proxmox-widget-toolkit: Oguz Bektas (1): add reboot for containers into task description table Utils.js | 1 + 1 file changed, 1 insertion(+) pve-manager: Oguz Bektas (1): add reboot button for containers www/manager6/lxc/Config.js | 35 +++++++++++++++++++++-------------- 1 file changed, 21 insertions(+), 14 deletions(-) -- 2.20.1 _______________________________________________ pve-devel mailing list pve-devel@pve.proxmox.com https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel