we cannot import the state of the efivars (e.g. boot order)
so add a warning for that

Signed-off-by: Dominik Csapak <d.csa...@proxmox.com>
---
 src/PVE/Storage/ESXiPlugin.pm | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/PVE/Storage/ESXiPlugin.pm b/src/PVE/Storage/ESXiPlugin.pm
index 3f47577..e448760 100644
--- a/src/PVE/Storage/ESXiPlugin.pm
+++ b/src/PVE/Storage/ESXiPlugin.pm
@@ -955,6 +955,7 @@ sub get_create_args {
     if ($firmware eq 'efi') {
        $create_args->{bios} = 'ovmf';
        $create_disks->{efidisk0} = 1;
+       $warn->('efi-state-lost', key => "bios", value => "ovmf");
     } else {
        $create_args->{bios} = 'seabios';
     }
-- 
2.39.2



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

Reply via email to