[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.
pull/9394/head
Svetlin 6 years ago committed by GitHub
parent 79770f919a
commit 49bf9c9d37
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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…
Cancel
Save