]> git.proxmox.com Git - pve-manager.git/commitdiff
ui: guest import: add warning for losing efi state
authorDominik Csapak <d.csapak@proxmox.com>
Tue, 19 Mar 2024 13:00:32 +0000 (14:00 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 19 Mar 2024 17:16:51 +0000 (18:16 +0100)
and add a link to recreate the boot entries in ovmf

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
 [ TL: break up String.format to avoid overly long line ]
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
www/manager6/window/GuestImport.js

index e418c8cb2648992e9fd385911686e696dee05406..ae9bac5b9abee6a32417774dccf094c8b03c23a4 100644 (file)
@@ -867,6 +867,10 @@ 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) {