I have installed terraform and packer on a Centos VM and terraform is 
working as expected for the Vsphere but packer keeps throwing the below 
error. Any thoughts?

Error:

`"Debug mode enabled. Builds will not be parallelized.
vsphere-iso output will be in this color.

Build 'vsphere-iso' errored: Post https:///sdk: Gateway Timeout

==> Some builds didn't complete successfully and had errors:
--> vsphere-iso: Post https:///sdk: Gateway Timeout

==> Builds finished but no artifacts were created.
[root@terra-code-srv1 ~]#"
`

My code is
`{
"builders": [
{
"type": "vsphere-iso",

  "vcenter_server": "Vsphere hostname",
  "insecure_connection": "true",
  "username": "Vsphere Userd ID",
  "password": "Passwd",
  "cluster": "Cluster name",
  "host": "Esx host",

  "vm_name":  "centos7base",
  "convert_to_template": "true",
  "folder": "templates",
  "cpu": "1",
  "ram": "2048",
  "network": "vm-network-25",
  "network_adapter": "e1000",
  "guest_os_type": "otherGuest",
  "datastore": "hx_nfs_vol_1",
  "disk_size": "5GB",
  "iso": "ISOS/CentOS7.iso",
  "iso_datastore": "hx_nfs_vol_1"

}

]
`

-- 
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/7fa3c10b-e359-41ee-94d6-ef983fda1020%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to