mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-02 15:54:45 +00:00
Update cheatsheets
This commit is contained in:
21
packer
Normal file
21
packer
Normal file
@@ -0,0 +1,21 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# 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}}`
|
||||
Reference in New Issue
Block a user