I am trying to use packer to update a template so that it is patched and than convert back to template. However, the customize setting doesn’t seem to work and won’t run and I get the following error:
Failed to parse template: 1 error occurred:
* Unknown root level key in template: ‘customize’
example below:
“customize”: {
“linux_options”: {
“host_name”: “packer-test”,
“domain”: “test.internal”
},
“network_interface”: {
“ipv4_address”: “10.0.0.10”,
“ipv4_netmask”: “24”
},
“ipv4_gateway”: “10.0.0.1”,
}
Using vsphere-clone builder a bad way to do this or just not supported? Any assistance would be appreciated.