pungi-rocky/generate-prepop-yaml

3 lines
137 B
Plaintext
Raw Normal View History

2022-06-07 17:58:28 +00:00
#!/bin/bash
cat prepopulate.json | python -c 'import sys, yaml, json; print(yaml.dump(json.loads(sys.stdin.read())))' > prepopulate.yaml