[pve-devel] [PATCH manager 4/4] ui: guest import: add warning for losing efi state

Dominik Csapak d.csapak at proxmox.com
Tue Mar 19 14:00:32 CET 2024


and add a link to recreate the boot entries in ovmf

Signed-off-by: Dominik Csapak <d.csapak at 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 297e2198..83288dad 100644
--- a/www/manager6/window/GuestImport.js
+++ b/www/manager6/window/GuestImport.js
@@ -867,6 +867,7 @@ Ext.define('PVE.window.GuestImport', {
 		'ovmf-with-lsi-unsupported': gettext("OVMF is built without LSI drivers, scsi hardware was set to '{1}'"),
 		'serial-port-socket-only': gettext("Serial socket '{0}' will be mapped to a socket"),
 		'guest-is-running': gettext('Virtual guest seems to be running on source host. Import might fail or have inconsistent state!'),
+		'efi-state-lost': Ext.String.format(gettext('EFI state cannot be imported, you may need to reconfigure the boot order (see {0})'), '<a href="https://pve.proxmox.com/wiki/OVMF/UEFI_Boot_Entries">OVMF/UEFI Boot Entries</a>'),
 	    };
             let message = warningsCatalogue[w.type];
 	    if (!w.type || !message) {
-- 
2.39.2





More information about the pve-devel mailing list