Hello All,
I am using builder vmware-iso and have set the vmx_data and vmx_data_post
to define the behavior of the generated template but having some issues.
The VMs deployed from the generated template are not connecting the vNIC.
I checked the generated VM by converting it to a VM and I see the Connect
at power on is ticked. I looked at the .vmx file of the generated template
and it is missing the "ethernet0.startConnected": "TRUE" - is there
something I am missing in my json template?
Here is the snippet of the vmx_data and the vmx_data_post from my template:
"vmx_data": {
"memsize": "{{ user `memsize` }}",
"numvcpus": "{{ user `numvcpus` }}",
"scsi0.virtualDev": "lsisas1068",
"RemoteDisplay.vnc.enabled": "false",
"RemoteDisplay.vnc.port": "5900"
},
"vmx_data_post": {
"ethernet0.present": "TRUE",
"ethernet0.virtualDev": "vmxnet3",
"ethernet0.networkName": "{{user `vsphere_network`}}",
"ethernet0.startConnected": "TRUE"
}
Will really appreciate help in getting this working. I have to manually
edit settings of the deployed VM and select the connected and connect at
power on as a workaround for now.
Thanks
--
This mailing list is governed under the HashiCorp Community Guidelines -
https://www.hashicorp.com/community-guidelines.html. Behavior in violation of
those guidelines may result in your removal from this mailing list.
GitHub Issues: https://github.com/mitchellh/packer/issues
IRC: #packer-tool on Freenode
---
You received this message because you are subscribed to the Google Groups
"Packer" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/packer-tool/077521a3-0fb0-44eb-827e-3ff1d76bc364%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.