* Using 'tcg' as accelerator for qemu-system allows packer to run in a
virtual machine as no kvm or xen support is needed.
* Also document the default behavior if no accelerator is given in the
documentation.
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.
Add configuration option `networks`, a list of network UUIDs, to attach to the
source instance.
In some openstack installs, no default network will be attached or the network
with the ability to attach a public floating IP will need to be specified.
If `openstack_provider:rackspace` is omitted in the configuration, the example
won't work at all against rackspace. Not sure what the actual documentation for
this configuration value should be, but this was a major source of irritation
when I couldn't get the default example working against Rackspace.