[pve-devel] [PATCH manager/qemu-server/pve-container v2] Add checkbox for automatic restart of CT/VM after rollback

Stefan Hanreich s.hanreich at proxmox.com
Mon Sep 12 14:00:05 CEST 2022


Update to my first patch, that added a warning to the rollback dialog. As
discussed in Bugzilla, I added a checkbox to toggle an automatic restart to the
rollback window instead of displaying a warning. The restart functionality
itself is implemented in the respective backends.

One difference to the existing dialog window is, that the new one doesn't use
MessageBox anymore as its base component. This is because, it is quite tricky
to add custom elements to the MessageBox and get their values. This leads to
the dialog looking slightly different, since there is no question mark icon
anymore.

pve-manager:

Stefan Hanreich (1):
  fix #4228: ui: Add checkbox to rollback dialog for automatically
    restarting VM/CT

 www/manager6/tree/SnapshotTree.js | 62 +++++++++++++++++++++++++++----
 1 file changed, 55 insertions(+), 7 deletions(-)


qemu-server:

Stefan Hanreich (1):
  fix #4228: add start parameter to rollback endpoint for automatic
    restarting of VM

 PVE/API2/Qemu.pm | 12 ++++++++++++
 1 file changed, 12 insertions(+)


pve-container:

Stefan Hanreich (1):
  fix #4228: add start parameter to rollback endpoint for automatic
    restarting of CT

 src/PVE/API2/LXC/Snapshot.pm | 12 ++++++++++++
 1 file changed, 12 insertions(+)

-- 
2.30.2





More information about the pve-devel mailing list