Skip to content

Commit

Permalink
MTV-1632 | Enable SMM for the uefi secureboot
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Necas <[email protected]>
  • Loading branch information
mnecas committed Dec 13, 2024
1 parent 3929eaf commit 2fa1ba5
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pkg/controller/plan/adapter/vsphere/builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -672,6 +672,11 @@ func (r *Builder) mapFirmware(vm *model.VM, object *cnv.VirtualMachineSpec) {
EFI: &cnv.EFI{
SecureBoot: &vm.SecureBoot,
}}
object.Template.Spec.Domain.Features = &cnv.Features{
SMM: &cnv.FeatureState{
Enabled: &vm.SecureBoot,
},
}
default:
firmware.Bootloader = &cnv.Bootloader{BIOS: &cnv.BIOS{}}
}
Expand Down

0 comments on commit 2fa1ba5

Please sign in to comment.