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.
This commit is contained in:
Otto Bittner 2023-05-11 13:54:50 +02:00
parent 81f79d943a
commit f33f3823ea

View File

@ -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")},
},