Packer 1.3.3

I am trying to deploy a template to a remote esxi host using vpshere-iso, 
but it fails when locating the folder specified in the json

XXXXXX-PACKER2:~/packer$ packer build -debug vmware_remote_test.json            
                                                Debug mode enabled. Builds will 
not be parallelized.                                                            
                   vsphere-iso output will be in this color.                    
                                                                                
                                                                                
                                         ==> vsphere-iso: Pausing after run of 
step 'StepConnect'. Press enter to continue.                                    
             ==> vsphere-iso: Creating VM...                                    
                                                                ==> 
vsphere-iso: Pausing before cleanup of step 'StepConnect'. Press enter to 
continue.                                            Build 'vsphere-iso' 
errored: folder '/siteid/vm/template' not found                                 
                                                                                
                                                                                
  ==> Some builds didn't complete successfully and had errors:                  
                                                     --> vsphere-iso: folder 
'/siteid/vm/template' not found                                                 
                                                                                
                                                                              
==> Builds finished but no artifacts were created.                              
                                                   


i have tried multiple different folder locations with no luck. Though 
regardless of what i put in the folder value...it is appending it 
to /siteid/vm/

Ive replicated the folder structure still fails

Heres the json for review


  "builders": [
    {
      "type": "vsphere-iso",

      "vcenter_server": "vcenter",
      "insecure_connection": "true",
      "username": "username",
      "password": "password",
     "datacenter": "sitename",
      "cluster": "clustername",
      "host": "hostname",

      "vm_name":  "centos7base",
      "convert_to_template": "true",
      "folder": "template",
      "cpu": "1",
      "ram": "2048",
      "network": "VM Network",
      "network_adapter": "e1000",
      "guest_os_type": "otherGuest",
      "datastore": "datastore name",
      "disk_size": "10000",
      "iso": "ISO/CentOS-7-x86_64-Minimal-1810.iso",
      "iso_datastore": "datastore name"

    }
  ]
}



-- 
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/fbcb88eb-62da-4cec-894b-40d0af8c5a6e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to