[pve-devel] [PATCH manager 1/3] qemu: create: add checkbox for creating HA resource upon VM creation

Michael Köppl m.koeppl at proxmox.com
Mon Oct 6 17:52:31 CEST 2025


The new checkbox allows users to create a HA resource for the VM right
away. The 'state' of the HA resource will match the value of the "Start
after creation" checkbox.

Signed-off-by: Michael Köppl <m.koeppl at proxmox.com>
---
 www/manager6/qemu/CreateWizard.js | 17 ++++++++++++++---
 1 file changed, 14 insertions(+), 3 deletions(-)

diff --git a/www/manager6/qemu/CreateWizard.js b/www/manager6/qemu/CreateWizard.js
index a10b9c0af..6ef70c366 100644
--- a/www/manager6/qemu/CreateWizard.js
+++ b/www/manager6/qemu/CreateWizard.js
@@ -255,11 +255,22 @@ Ext.define('PVE.qemu.CreateWizard', {
             ],
             dockedItems: [
                 {
-                    xtype: 'proxmoxcheckbox',
-                    name: 'start',
+                    xtype: 'container',
                     dock: 'bottom',
+                    border: false,
                     margin: '5 0 0 0',
-                    boxLabel: gettext('Start after created'),
+                    items: [
+                        {
+                            xtype: 'proxmoxcheckbox',
+                            name: 'start',
+                            boxLabel: gettext('Start after created'),
+                        },
+                        {
+                            xtype: 'proxmoxcheckbox',
+                            name: 'ha-managed',
+                            boxLabel: gettext('Add as HA resource'),
+                        },
+                    ],
                 },
             ],
             listeners: {
-- 
2.47.3





More information about the pve-devel mailing list