Files
matchbox/scripts
Dalton Hubble 68437b9e2d api: Allow Ignition config templates in YAML
* 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
2016-02-04 13:45:11 -08:00
..

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