mirror of https://github.com/CrimsonTome/tldr.git
17 lines
312 B
Markdown
17 lines
312 B
Markdown
# packer
|
|
|
|
> Build automated machine images.
|
|
> More information: <https://www.packer.io/>.
|
|
|
|
- Build an image:
|
|
|
|
`packer build {{path/to/config.json}}`
|
|
|
|
- Check the syntax of a Packer image config:
|
|
|
|
`packer validate {{path/to/config.json}}`
|
|
|
|
- Format a Packer image config:
|
|
|
|
`packer fmt {{path/to/config.pkr.hcl}}`
|