From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate001.proxmox.com (gate001.proxmox.com [IPv6:2a0f:8001:1:32::40]) by lore.proxmox.com (Postfix) with ESMTPS id 4FE141FF0B2 for ; Thu, 20 Aug 2026 14:46:12 +0200 (CEST) Received: from gate001.proxmox.com (localhost.localdomain [127.0.0.1]) by gate001.proxmox.com (Proxmox) with ESMTP id 9F3ED21582; Thu, 20 Aug 2026 14:46:10 +0200 (CEST) From: Elias Huhsovitz To: pve-devel@lists.proxmox.com Subject: [PATCH manager] fix #6113: ui: import: add pool selector Date: Thu, 20 Aug 2026 14:46:01 +0200 Message-ID: <20260820124601.135875-1-e.huhsovitz@proxmox.com> X-Mailer: git-send-email 2.47.3 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Bm-Milter-Handled: 55990f41-d878-4baa-be0a-ee34c49e34d2 X-Bm-Transport-Timestamp: 1787229941132 X-SPAM-LEVEL: Spam detection results: 0 AWL 0.735 Adjusted score from AWL reputation of From: address 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_MED -2.3 Sender listed at https://www.dnswl.org/, medium 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: SBFMAM64JWHPFIZZE6CVXII3MNFIZ7RN X-Message-ID-Hash: SBFMAM64JWHPFIZZE6CVXII3MNFIZ7RN X-MailFrom: e.huhsovitz@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 CC: Elias Huhsovitz X-Mailman-Version: 3.3.10 Precedence: list List-Id: Proxmox VE development discussion List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: There is no option to select a resource pool when importing a guest from OVA or VMware/ESXi. Add the pvePoolSelector to the guest import window. Remove spacer to align rows. Signed-off-by: Elias Huhsovitz --- In GutestImport.js:2 there is this comment: extend: 'Proxmox.window.Edit', // fixme: Proxmox.window.Edit? Was it intended to extend 'PVE.window.Wizard' or 'PVE.qemu.CreateWizard' at some point? This would unify the creation of qemu guests, since both the GuestImport and the CreateWizard POST to the same API endpoint (/nodes/{node}/qemu). Since IMO the resource pool selector fits in neatly with the current layout, I decided to simply extend it. www/manager6/window/GuestImport.js | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/www/manager6/window/GuestImport.js b/www/manager6/window/GuestImport.js index 9c9b0f1b..1013fe14 100644 --- a/www/manager6/window/GuestImport.js +++ b/www/manager6/window/GuestImport.js @@ -369,6 +369,10 @@ Ext.define('PVE.window.GuestImport', { let defaultBridge = values.defaultBridge; delete values.defaultBridge; + if (!values.pool) { + delete values.pool; + } + let config = { ...view.vmConfig }; Ext.apply(config, values); @@ -517,7 +521,13 @@ Ext.define('PVE.window.GuestImport', { value: 512, allowBlank: true, }, - { xtype: 'displayfield' }, // spacer + { + xtype: 'pvePoolSelector', + fieldLabel: gettext('Resource Pool'), + name: 'pool', + value: '', + allowBlank: true, + }, { xtype: 'displayfield' }, // spacer { xtype: 'pveDiskStorageSelector', -- 2.47.3