[pve-devel] [PATCH storage 1/2] esxi: add warning for losing efi state
Dominik Csapak
d.csapak at proxmox.com
Tue Mar 19 14:00:27 CET 2024
we cannot import the state of the efivars (e.g. boot order)
so add a warning for that
Signed-off-by: Dominik Csapak <d.csapak at 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
More information about the pve-devel
mailing list