Hashicorp Packer templates.
-
cd
into a subdirectory -
Adapt the main
.pkr.hcl
file if required. The templates have been tested, work without modification. -
Have a look at the vars defined in
variables.pkr.hcl
-
Create a
variables.auto.pkrvars.hcl
file to set/override var values, in the format:var_one = "dingbats"
var_two = "barfi"
-
Run
packer init -upgrade .
to check the config and pull plugins. -
Run
packer build .
to build the template on the target system.