diff options
author | Xin LI <delphij@FreeBSD.org> | 2024-01-12 05:38:04 +0000 |
---|---|---|
committer | Xin LI <delphij@FreeBSD.org> | 2024-01-12 05:38:04 +0000 |
commit | e872a4013fc325460924772f935b599151bd3d25 (patch) | |
tree | 7df73f462d3469155d9948e4aae336effe27f93b | |
parent | d004554af7d1563465656bde6f1a87fb1728f418 (diff) | |
download | src-e872a4013fc325460924772f935b599151bd3d25.tar.gz src-e872a4013fc325460924772f935b599151bd3d25.zip |
releng-gce: Advertise the availability of gVNIC support in GCE images.
This marks FreeBSD GCE images as gVNIC capable by adding the
--guest-os-features=GVNIC flag at creation time as suggested in GCE
documentation[1]. This allows Generation 3 and newer GCE instances
to leverage advanced networking capabilities and performance
enhancements provided by gVNIC. Users will benefit from these
improvements without needing to create custom images.
[1] https://cloud.google.com/compute/docs/networking/using-gvnic#create_a_vm_with_gvnic_support
Reviewed by: cperciva
MFC after: 3 days
Differential Revision: https://reviews.freebsd.org/D43411
-rw-r--r-- | release/Makefile.gce | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/release/Makefile.gce b/release/Makefile.gce index e84b2df809a9..f244e6c89640 100644 --- a/release/Makefile.gce +++ b/release/Makefile.gce @@ -73,6 +73,7 @@ gce-do-upload-${_FS}: gs://${GCE_BUCKET}/ /usr/local/bin/gcloud compute images create ${GCE_TARGET_${_FS}} \ --family=${GCE_FAMILY}${GCE_FAMILY_SUFX} ${GCE_LICENSE} \ + --guest-os-features=GVNIC \ --source-uri gs://${GCE_BUCKET}/${GCE_TARGET_${_FS}}.tar.gz touch ${.OBJDIR}/${.TARGET} .endfor |