osimage: advertise SEV SNP support for gcp images

This commit is contained in:
Malte Poll 2023-05-22 11:14:56 +02:00 committed by Malte Poll
parent c010a4d742
commit 9a1ee8697e

View File

@ -146,6 +146,7 @@ func (u *Uploader) createImage(ctx context.Context, version versionsapi.Version,
GuestOsFeatures: []*computepb.GuestOsFeature{ GuestOsFeatures: []*computepb.GuestOsFeature{
{Type: toPtr("GVNIC")}, {Type: toPtr("GVNIC")},
{Type: toPtr("SEV_CAPABLE")}, {Type: toPtr("SEV_CAPABLE")},
{Type: toPtr("SEV_SNP_CAPABLE")},
{Type: toPtr("VIRTIO_SCSI_MULTIQUEUE")}, {Type: toPtr("VIRTIO_SCSI_MULTIQUEUE")},
{Type: toPtr("UEFI_COMPATIBLE")}, {Type: toPtr("UEFI_COMPATIBLE")},
}, },