GCP now supports dual stack (IPv4 and IPv6) GCE VMs in every available region. In order to be able to create a dual stack VM, one must create the VM with a stack type defined (With gcloud the --stack-type="IPV4_IPV6" flag). We would like to be able to create dual stack images using Packer.
I am happy to take a stab at a PR, if this feature seems useful.
Use Case(s)
Any user wanting to create dual stack VMs using Packer. Many people may not be aware of the current state of IPv6 in GCE, since it was largely unavailable until relatively recently.
Potential configuration
Add a new configuration option, possibly something like stack_type.
I created this issue before I fully understood how Packer was working. I now see that I can create a dual-stack VM using the base image created by Packer. Sorry for the noise.
Description
GCP now supports dual stack (IPv4 and IPv6) GCE VMs in every available region. In order to be able to create a dual stack VM, one must create the VM with a stack type defined (With gcloud the
--stack-type="IPV4_IPV6"
flag). We would like to be able to create dual stack images using Packer.I am happy to take a stab at a PR, if this feature seems useful.
Use Case(s)
Any user wanting to create dual stack VMs using Packer. Many people may not be aware of the current state of IPv6 in GCE, since it was largely unavailable until relatively recently.
Potential configuration
Add a new configuration option, possibly something like
stack_type
.Potential References