Enable secure boot on Azure CVMs

This commit is contained in:
Malte Poll 2022-08-16 16:19:33 +02:00 committed by Malte Poll
parent da41cb6962
commit 5883278d4a

View File

@ -112,7 +112,7 @@ func (s ScaleSet) Azure() armcomputev2.VirtualMachineScaleSet {
},
SecurityProfile: &armcomputev2.SecurityProfile{
SecurityType: to.Ptr(armcomputev2.SecurityTypesConfidentialVM),
UefiSettings: &armcomputev2.UefiSettings{VTpmEnabled: to.Ptr(true), SecureBootEnabled: to.Ptr(false)},
UefiSettings: &armcomputev2.UefiSettings{VTpmEnabled: to.Ptr(true), SecureBootEnabled: to.Ptr(true)},
},
DiagnosticsProfile: &armcomputev2.DiagnosticsProfile{
BootDiagnostics: &armcomputev2.BootDiagnostics{