packer-builder-vsphere
packer-builder-vsphere copied to clipboard
Error selecting network when name has spaces
Packer version 1.4.4
vsphere-iso version 2.3
vSphere version: VMware ESXi, 6.5.0, 13004031
Error: "--> vsphere-iso: error creating vm: Invalid configuration for device '1'."
From Packer template:
"network": "VLAN3000 - CDN App-Prod",
If I switch to a different host that does not have a space in the network name, I don't get this error.
I tried escaping the string "VLAN3000\ -\ CDN\ App-Prod" and get a parsing error in the template.
I am unable to leave the network selection out because the host has multiple networks.
Has anyone successfully used a network with spaces in the name? Is there a workaround?
Thank you in advance
Please try replacing space with %2f. I was able to resolve my issue with that workaround.