While running through the getting-started examples, I ran into a strange
error:
packer $ packer validate example.json
Failed to parse template: Error in line 16, char 2: invalid character
'"' after object key:value pair
"provisioners": [{
packer $
The error was not immediately obvious, as this is my first time working
with Packer, and like many users this also happens to be my first time
working with JSON.
Solution:
I was missing a comma after the 'builders' configuration. I'm sure this
is a common problem, so let's specifically mention that in the document.
As per https://github.com/mitchellh/packer/issues/1142, it's critical to add openstack_provider: rackspace in order to get anything to work reliably with Rackspace and Packer in 6.0.
Question: should the openstack_provider field now be marked as required?
Instead of pointing at a specific (in this case actually non-working!) revision, point to the github UI for the
head revision.
The user is expected to find the 'raw' link there, but the page allows to also quickly look at changes etc, which
might be helpful for people unfamiliar with kickstart files.
Use a single command line, avoid the graphical installer, and use {{ .HTTPIP }} rather than the actual IP.
Also wait a bit before entering the commands to increase the chance of actually being in the boot menu.