From: Jonas Theisen <j.theisen@proxmox.com>
To: pve-devel@lists.proxmox.com
Subject: [PATCH pve-manager v2 1/2] ui: vm create: populate EFI and TPM storage by default
Date: Thu, 6 Aug 2026 15:01:29 +0200 [thread overview]
Message-ID: <20260806130152.207884-2-j.theisen@proxmox.com> (raw)
In-Reply-To: <20260806130152.207884-1-j.theisen@proxmox.com>
On VM creation the storage dropdown for EFI and TPM were empty,
while the storage for VM disks was populated by default.
This commit adds the parameters to the selectors to also populate
the storage for EFI and TPM disks automatically.
I oriented myself on the parameters already used for VM disk creation
in HDEdit.js
Reported by a forum user in https://forum.proxmox.com/threads/185473/
Signed-off-by: Jonas Theisen <j.theisen@proxmox.com>
---
www/manager6/qemu/HDEfi.js | 1 +
www/manager6/qemu/HDTPM.js | 1 +
www/manager6/qemu/SystemEdit.js | 2 ++
3 files changed, 4 insertions(+)
diff --git a/www/manager6/qemu/HDEfi.js b/www/manager6/qemu/HDEfi.js
index 14a64fc0..9c880de5 100644
--- a/www/manager6/qemu/HDEfi.js
+++ b/www/manager6/qemu/HDEfi.js
@@ -63,6 +63,7 @@ Ext.define('PVE.qemu.EFIDiskInputPanel', {
nodename: me.nodename,
disabled: me.disabled,
hideSize: true,
+ autoSelect: me.insideWizard,
},
{
xtype: 'proxmoxcheckbox',
diff --git a/www/manager6/qemu/HDTPM.js b/www/manager6/qemu/HDTPM.js
index 947e3738..ee51b9ce 100644
--- a/www/manager6/qemu/HDTPM.js
+++ b/www/manager6/qemu/HDTPM.js
@@ -55,6 +55,7 @@ Ext.define('PVE.qemu.TPMDiskInputPanel', {
nodename: me.nodename,
disabled: me.disabled,
hideSize: true,
+ autoSelect: me.insideWizard,
},
{
xtype: 'proxmoxKVComboBox',
diff --git a/www/manager6/qemu/SystemEdit.js b/www/manager6/qemu/SystemEdit.js
index 299be5f8..458cb493 100644
--- a/www/manager6/qemu/SystemEdit.js
+++ b/www/manager6/qemu/SystemEdit.js
@@ -137,6 +137,7 @@ Ext.define('PVE.qemu.SystemInputPanel', {
hidden: true,
hideSize: true,
usesEFI: true,
+ insideWizard: true,
},
],
@@ -184,6 +185,7 @@ Ext.define('PVE.qemu.SystemInputPanel', {
},
disabled: true,
hidden: true,
+ insideWizard: true,
},
],
});
--
2.47.3
next prev parent reply other threads:[~2026-08-06 13:02 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-06 13:01 [PATCH pve-manager v2 0/2] ui: vm create: populate EFI and Jonas Theisen
2026-08-06 13:01 ` Jonas Theisen [this message]
2026-08-06 13:01 ` [PATCH pve-manager v2 2/2] ui: vm: create: fix autoSelect for disk storage selector when re-enabling field Jonas Theisen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260806130152.207884-2-j.theisen@proxmox.com \
--to=j.theisen@proxmox.com \
--cc=pve-devel@lists.proxmox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox