From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate001.proxmox.com (gate001.proxmox.com [45.144.208.40]) by lore.proxmox.com (Postfix) with ESMTPS id 72F931FF0E0 for ; Thu, 06 Aug 2026 15:02:20 +0200 (CEST) Received: from gate001.proxmox.com (localhost.localdomain [127.0.0.1]) by gate001.proxmox.com (Proxmox) with ESMTP id 2349721579; Thu, 06 Aug 2026 15:02:09 +0200 (CEST) From: Jonas Theisen 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 Message-ID: <20260806130152.207884-2-j.theisen@proxmox.com> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20260806130152.207884-1-j.theisen@proxmox.com> References: <20260806130152.207884-1-j.theisen@proxmox.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Bm-Milter-Handled: 55990f41-d878-4baa-be0a-ee34c49e34d2 X-Bm-Transport-Timestamp: 1786021310186 X-SPAM-LEVEL: Spam detection results: 0 DMARC_MISSING 0.1 Missing DMARC policy KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment (newer systems) RCVD_IN_DNSWL_LOW -0.7 Sender listed at https://www.dnswl.org/, low trust SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record Message-ID-Hash: LSE55HWC4OEMSIO2OOPY7RVDYEHAJFW5 X-Message-ID-Hash: LSE55HWC4OEMSIO2OOPY7RVDYEHAJFW5 X-MailFrom: j.theisen@proxmox.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.10 Precedence: list List-Id: Proxmox VE development discussion List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: 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 --- 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