mirror of
git://git.proxmox.com/git/qemu-server.git
synced 2025-01-24 02:04:10 +03:00
efi: use vendor-agonstic "pre-enrolled-keys" + description fix
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
6881de41a4
commit
a064e5117f
@ -3160,7 +3160,7 @@ sub get_ovmf_files($$) {
|
||||
|
||||
my $type = 'default';
|
||||
if (defined($efidisk->{efitype}) && $efidisk->{efitype} eq '4m') {
|
||||
$type = $efidisk->{'ms-keys'} ? "4m-ms" : "4m";
|
||||
$type = $efidisk->{'pre-enrolled-keys'} ? "4m-ms" : "4m";
|
||||
}
|
||||
|
||||
return $types->{$type}->@*;
|
||||
|
@ -316,11 +316,11 @@ my %efitype_fmt = (
|
||||
optional => 1,
|
||||
default => '2m',
|
||||
},
|
||||
'ms-keys' => {
|
||||
'pre-enrolled-keys' => {
|
||||
type => 'boolean',
|
||||
description => "Pre-enroll the Microsoft Standard UEFI Secure Boot keys if"
|
||||
. " used with 'efitype=4m'. Note that this will enable Secure Boot by"
|
||||
. " default, though it can still be turned off from within the VM.",
|
||||
description => "Use am EFI vars template with distribution-specific and Microsoft Standard"
|
||||
." keys enrolled, if used with 'efitype=4m'. Note that this will enable Secure Boot by"
|
||||
." default, though it can still be turned off from within the VM.",
|
||||
optional => 1,
|
||||
default => 0,
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user