diff options
author | Xin LI <delphij@FreeBSD.org> | 2024-01-12 05:38:04 +0000 |
---|---|---|
committer | Xin LI <delphij@FreeBSD.org> | 2024-01-15 00:30:12 +0000 |
commit | 44cd4b2fec0288f6f8bca571a9fb7f012dbb6c6e (patch) | |
tree | 82fa08ffc743399c6c1a050cbb3fabf42e804a17 | |
parent | c8a0dbcaff3f17a94589a957aafdfa3ab5c9d235 (diff) | |
download | src-44cd4b2fec0288f6f8bca571a9fb7f012dbb6c6e.tar.gz src-44cd4b2fec0288f6f8bca571a9fb7f012dbb6c6e.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
Differential Revision: https://reviews.freebsd.org/D43411
(cherry picked from commit e872a4013fc325460924772f935b599151bd3d25)
-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 bdf7b31ba302..c0b4985937a0 100644 --- a/release/Makefile.gce +++ b/release/Makefile.gce @@ -72,6 +72,7 @@ gce-do-upload: gs://${GCE_BUCKET}/ /usr/local/bin/gcloud compute images create ${GCE_TARGET} \ --family=${GCE_FAMILY}${GCE_FAMILY_SUFX} ${GCE_LICENSE} \ + --guest-os-features=GVNIC \ --source-uri gs://${GCE_BUCKET}/${GCE_TARGET}.tar.gz touch ${.OBJDIR}/${.TARGET} |