Closed warroyo closed 6 years ago
I am getting the following error, any idea why this is happening? I do have 2 datacenters in that vpshere instance but I am specifying.
Post-processor failed: Failed: default datacenter resolves to multiple instances, please specify
here is my config for the post processor(minus sensitive info):
{ "type": "vsphere-ova", "host": "myvcenterhost.com", "datacenter": "MY-DATACENTER1", "username": "user", "password": "pass", "datastore": "DATASTORE1", "vm_folder": "Templates", "remove_floppy": "true", "remove_ethernet": "true", "remove_optical_drive": "true" }
looking at the code it doesnt look like the config info is being used to set the datacenter?
https://github.com/Banno/packer-post-processor-vsphere-ova/blob/master/post-processor.go#L375-L380
I am getting the following error, any idea why this is happening? I do have 2 datacenters in that vpshere instance but I am specifying.
Post-processor failed: Failed: default datacenter resolves to multiple instances, please specify
here is my config for the post processor(minus sensitive info):