you have to change all the values to fit your own environment. So if your datacenter construct in vCenter is called "MyDatacenter" then enter "MyDatacenter".
if you can share a screenshot of your vCenter inventory (Host view) i can verify the values. On Sunday, November 19, 2017 at 6:33:06 PM UTC+1, Shankar Bala wrote: > > Hi > > I am targetting vcenter only..i have my own datacenter..datacenter have to > point to "ha-datacenter" or my own datacenter ? > > Shankar > > On Sat, Nov 18, 2017 at 9:40 AM, <[email protected] <javascript:>> wrote: > >> Just to be sure: Are you targeting a vCenter server and not an ESXi host >> directly? >> >> { >> "type": "vsphere-template", >> "host": "<vcenter ip>", >> "insecure": true, >> "datacenter": "ha-datacenter", >> "username": "[email protected]", >> "password": "<vc admin password>", >> "folder": "/Templates" >> } >> >> the folder should be from the root of your datacenter construct in >> vCenter. My "Templates" folder is directly underneath my datacenter as an >> example. >> >> -- >> 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 a topic in the >> Google Groups "Packer" group. >> To unsubscribe from this topic, visit >> https://groups.google.com/d/topic/packer-tool/AsS7nzDYCCk/unsubscribe. >> To unsubscribe from this group and all its topics, send an email to >> [email protected] <javascript:>. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/packer-tool/bc1ae57f-fdaa-4098-9567-ffa70fe3e689%40googlegroups.com >> >> <https://groups.google.com/d/msgid/packer-tool/bc1ae57f-fdaa-4098-9567-ffa70fe3e689%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> >> For more options, visit https://groups.google.com/d/optout. >> > > -- 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/4bc65cc0-91db-44df-a6af-270a976ab39f%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
