[gcp] Fixup for the deprecated Secure Boot guest OS feature (#9371)
GCP informed us that the GuestOsFeature SECURE_BOOT is deprecated and that they are using UEFI_COMPATIBLE instead. This means, using an image with 'UEFI_COMPATIBLE' guest OS feature confirms the 'secureBoot' feature compatibility.
This commit is contained in:
parent
79770f919a
commit
49bf9c9d37
|
@ -27,7 +27,7 @@ func (i *Image) IsWindows() bool {
|
|||
|
||||
func (i *Image) IsSecureBootCompatible() bool {
|
||||
for _, osFeature := range i.GuestOsFeatures {
|
||||
if osFeature.Type == "SECURE_BOOT" {
|
||||
if osFeature.Type == "UEFI_COMPATIBLE" {
|
||||
return true
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue