Butane Schemas that helps creating Butane files for Fedora Coreos and Flatcar Linux
This json Schema that can be used as a helper to write a butane config file according to its specifications
- Install vs code
- Install the Red hat YAML extension
- Associate a schema in the YAML file
# yaml-language-server: $schema=<urlToTheSchema>: doc- For butane schema, use
# yaml-language-server: $schema=https://relativ-it.github.io/Butane-Schemas/Butane-Schema.json"
- For butane schema, use
- edit your settings.json file like :
New with Version 1.8.0 of the Red hat YAML extension and since this I've published this work on JSON Schema Store you just need to change your files associations 😀
"settings": {
"files.associations": {
"*.bu": "yaml"
}
}You can also use these butane schemas with Sublime text editor thanks to @jdoss via sublime-butane