mirror of
https://github.com/outbackdingo/matchbox.git
synced 2026-01-27 10:19:35 +00:00
* Match machines to their Ignition template file, render the template, parse as JSON or YAML, and serve as Ignition JSON * Existing JSON ignition configs should still work * Remove the Ignition YAML -> JSON transform script which used fuze
Scripts
Ignition Generation
Transform human friendly *.yaml Ignition files to machine-friendly Ignition configs using the github.com/coreos/fuze utility.
First, install Fuze.
cd $GOPATH/src/github.com/coreos
git clone https://github.com/coreos/fuze.git
cd fuze
./build
cp bin/fuze $GOPATH/bin
Use gen-ignition to generate a JSON Ignition config for each *.yaml file in a directory of Ignition file sources.
./scripts/gen-ignition examples/dev/ignition