Skip to content
This repository has been archived by the owner on Mar 8, 2023. It is now read-only.

syntax error in pattern #291

Open
OlivierCop opened this issue Nov 20, 2019 · 0 comments
Open

syntax error in pattern #291

OlivierCop opened this issue Nov 20, 2019 · 0 comments

Comments

@OlivierCop
Copy link

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

1 participant