Use yaml for packer job description
This commit is contained in:
parent
33ccd59f2c
commit
e43f34991d
6 changed files with 109 additions and 158 deletions
|
|
@ -7,4 +7,6 @@ export IMAGES="$(realpath images)"
|
|||
|
||||
cd packer
|
||||
|
||||
python3 -c 'import sys, yaml, json; json.dump(yaml.safe_load(sys.stdin), sys.stdout, indent=4)' < "$NAME.yaml" > "$NAME.json"
|
||||
|
||||
packer build "$NAME.json"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue