jetbrains-infra/packer-builder-vsphere

syntax error in pattern

OlivierCop opened this issue · 0 comments

hi,
I want to create a ubuntu template with vsphere-iso.
the build return :
==> vsphere-iso: Creating VM...
Build 'vsphere-iso' errored: error creating vm: syntax error in pattern

packer validate is ok

My json :

`
{
"builders": [
{

  "type": "vsphere-iso",
  "vcenter_server": "vcenter-01contoso.local",
  "insecure_connection": "true",
  "username": "xxxxxxxx",
  "password": "xxxxxxxx",
  "cluster": "myCLUSTER",
  "host": "esxi-01.contoso.local",


  "ssh_username": "xxxx",
  "ssh_password": "xxxxx",

  "vm_name":  "TPLUBUNTU18.04-Packer",
  "convert_to_template": "true",
  "folder": "[mySTORE] Templates",

  "CPUs": 1,
  "RAM": 1024,
  "network": "LAB",
  "network_card": "e1000",
  "guest_os_type": "ubuntu64Guest",
  
  "disk_size": 20000,
  "disk_thin_provisioned": true,
  "disk_controller_type":  "lsilogic-sas",
  "iso_paths": ["[mySTORE] ISO/ubuntu-18.04-live-server-amd64.iso"]
}

]
}`

I have forgot what ?
Thx