I’d like to know what is the best way to add and remove NICs in a vmware image built with vsphere-clone. I’m looking to either remove all NICs (similar to
vmx_remove_ethernet_interfaces or to add a NIC.
But if I add a nic, I don’t want to have to create the corresponding network in the vmware environment. I want to build using 1 NIC, but ship my final image with 2 NICs.
Can one of those 2 things be accomplished with vsphere-clone? Or would I need to use ovftool after packer is done it’s job?