[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:
Svetlin 2020-06-10 16:21:11 +02:00 committed by GitHub
parent 79770f919a
commit 49bf9c9d37
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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
}
}