public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [pve-devel] [PATCH manager] ui: guest importer: use 4m efitype for imported vms
@ 2025-07-15 12:08 Dominik Csapak
  2025-07-15 12:51 ` [pve-devel] applied: " Thomas Lamprecht
  0 siblings, 1 reply; 3+ messages in thread
From: Dominik Csapak @ 2025-07-15 12:08 UTC (permalink / raw)
  To: pve-devel

If we omit the 'efitype' property, the legacy 2m images get used, so
explicitly use the 4m variant.

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
---
 www/manager6/window/GuestImport.js | 1 +
 1 file changed, 1 insertion(+)

diff --git a/www/manager6/window/GuestImport.js b/www/manager6/window/GuestImport.js
index 1858bf18..3e7fff39 100644
--- a/www/manager6/window/GuestImport.js
+++ b/www/manager6/window/GuestImport.js
@@ -408,6 +408,7 @@ Ext.define('PVE.window.GuestImport', {
                             }
                             data.file += ':0'; // for our special api format
                             if (id === 'efidisk0') {
+                                data.efitype = '4m';
                                 delete data['import-from'];
                             }
                             config[id] = PVE.Parser.printQemuDrive(data);
-- 
2.39.5



_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-07-15 13:02 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-07-15 12:08 [pve-devel] [PATCH manager] ui: guest importer: use 4m efitype for imported vms Dominik Csapak
2025-07-15 12:51 ` [pve-devel] applied: " Thomas Lamprecht
2025-07-15 13:02   ` Dominik Csapak

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal