From f33f3823eaf83ba51d22067b2e97bbbbf6d24e81 Mon Sep 17 00:00:00 2001 From: Otto Bittner Date: Thu, 11 May 2023 13:54:50 +0200 Subject: [PATCH] image: add SEV_SNP_CAPABLE os feature This is only temporary. We actually want to add a separate variant for sev-snp. This commit is only to have some images with the correct flags for testing. --- internal/osimage/gcp/gcpupload.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/osimage/gcp/gcpupload.go b/internal/osimage/gcp/gcpupload.go index eef43ddb9..8f869e0cb 100644 --- a/internal/osimage/gcp/gcpupload.go +++ b/internal/osimage/gcp/gcpupload.go @@ -146,6 +146,7 @@ func (u *Uploader) createImage(ctx context.Context, version versionsapi.Version, GuestOsFeatures: []*computepb.GuestOsFeature{ {Type: toPtr("GVNIC")}, {Type: toPtr("SEV_CAPABLE")}, + {Type: toPtr("SEV_SNP_CAPABLE")}, {Type: toPtr("VIRTIO_SCSI_MULTIQUEUE")}, {Type: toPtr("UEFI_COMPATIBLE")}, },