From 49bf9c9d37750281308a78ded64c0d1fa07da18a Mon Sep 17 00:00:00 2001 From: Svetlin Date: Wed, 10 Jun 2020 16:21:11 +0200 Subject: [PATCH] [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. --- builder/googlecompute/image.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builder/googlecompute/image.go b/builder/googlecompute/image.go index 46fac69b8..ba358c977 100644 --- a/builder/googlecompute/image.go +++ b/builder/googlecompute/image.go @@ -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 } }