Hi,

I'm trying to set up the vSphere post-processor to upload an artifact to a 
standalone ESXi-host. But I can't get it to work. This is the error:

" vsphere-clone.vc4_build (vsphere): Error: Locator does not refer to an 
object: 
vi://[email protected]:443ha-datacenter/host/esxhost01.local/Resources/ha-datacenter/host/esxhost01"

This is my config:

post-processor "vsphere"{
          keep_input_artifact = true
          vm_name = "test"
          vm_network = "xxx"
          cluster = "esxhost01"
          datacenter = "ha-datacenter"
          datastore = "xxx"
          host = "esxhost01.local"
          password = "xxx"
          username = "xxx"
          insecure = true


Parameters "cluster" and "datacenter" are mandatory, even though a 
standalone ESXi-host doesn't have those. 

Does anyone have a working example on how I can make this work? Or does the 
post-processor not support standalone ESXi-hosts?

Packer: 1.7.2
ovftool: VMware ovftool 4.4.1 (build-16812187)

-- 
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/hashicorp/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/4d2a2c6b-724a-42f6-a42e-7521f14b5667n%40googlegroups.com.

Reply via email to