Creating extra VM network interfaces

Hi,

I have a config file which takes a vSphere template (vsphere-clone), do some provisioning on it, and exports it as a OVF.
However the source template has one network interface, but I want to export it with multiple network interfaces to the OVF.
How can I do this?

1 Like

Did you find a resolution? The closest I could find was specifying e.g. the driver type of the final interface

"vmx_data_post": {
  "ethernet0.virtualDev": "vmxnet3"
},

searching optimistically for “ethernet1” and some related terms pointed me at
https://giedrius.blog/2018/01/14/tutorial-automatic-reproducible-preparation-of-virtual-machine-templates-for-your-vsphere-environment-with-hashicorps-packer/
http://sanbarrow.com/vmx/vmx-network-advanced.html
which might be promising.