[pve-devel] [PATCH v2 0/5] implement container reboot

Oguz Bektas o.bektas at proxmox.com
Tue Nov 19 15:53:42 CET 2019


i'm omitting the widget-toolkit patch since that one is already applied.


pve-container:
v1->v2:
* removed helpers for reboot triggers, because reboot triggers are not needed
	- we just do vm_stop and vm_start
* also apply pending changes in prestart hook
	- check for pending section during start, apply them before doing anything else.
	- this allows for systemctl reboot from PVE to apply pending changes, or reboot
	from inside the container to do the same.

Oguz Bektas (4):
  add vm_reboot sub to later use in api
  add vm_reboot api call
  add 'pct reboot'
  apply pending changes in lxc prestart hook

 src/PVE/API2/LXC/Status.pm | 52 ++++++++++++++++++++++++++++++++++++++
 src/PVE/CLI/pct.pm         |  3 ++-
 src/PVE/LXC.pm             | 13 ++++++++++
 src/lxc-pve-prestart-hook  |  9 +++++++
 4 files changed, 76 insertions(+), 1 deletion(-)

pve-manager:
no changes.

Oguz Bektas (1):
  add reboot button for containers

 www/manager6/lxc/Config.js | 35 +++++++++++++++++++++--------------
 1 file changed, 21 insertions(+), 14 deletions(-)


-- 
2.20.1




More information about the pve-devel mailing list