packer-builder-vsphere icon indicating copy to clipboard operation
packer-builder-vsphere copied to clipboard

syntax error in pattern

Open OlivierCop opened this issue 6 years ago • 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

OlivierCop avatar Nov 20 '19 17:11 OlivierCop