mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-31 23:53:39 +02:00
16 lines
342 B
Markdown
16 lines
342 B
Markdown
# packer
|
|
|
|
> Build automated machine images.
|
|
> More information: <https://developer.hashicorp.com/packer/docs/commands>.
|
|
|
|
- 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}}`
|