Skip to content

Latest commit

 

History

History
30 lines (20 loc) · 1.49 KB

README.md

File metadata and controls

30 lines (20 loc) · 1.49 KB

Butane-Schemas

Butane Schemas that helps creating Butane files for Fedora Coreos

This json Schema that can be used as a helper to write a butane config file according to its specifications

Use it with VsCode

  • 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://raw.githubusercontent.com/Relativ-IT/Butane-Schemas/Release/Butane-Schema.json"

Setup vs code to associate a schema to your *.bu files whitout setting schema manually

  • 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"
  }
}

Use it with Sublime text

You can also use these butane schemas with Sublime text editor thanks to @jdoss via sublime-butane