From: Dominik Csapak Date: Tue, 19 Mar 2024 13:00:32 +0000 (+0100) Subject: ui: guest import: add warning for losing efi state X-Git-Url: https://git.proxmox.com/?p=pve-manager.git;a=commitdiff_plain;h=24d60df3da63c052372a42446e884e8504bec02a ui: guest import: add warning for losing efi state and add a link to recreate the boot entries in ovmf Signed-off-by: Dominik Csapak [ TL: break up String.format to avoid overly long line ] Signed-off-by: Thomas Lamprecht --- diff --git a/www/manager6/window/GuestImport.js b/www/manager6/window/GuestImport.js index e418c8cb..ae9bac5b 100644 --- a/www/manager6/window/GuestImport.js +++ b/www/manager6/window/GuestImport.js @@ -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})'), + 'OVMF/UEFI Boot Entries', + ), }; let message = warningsCatalogue[w.type]; if (!w.type || !message) {