Skip to content

Butane Schemas that helps creating Butane files for Fedora Coreos

License

Notifications You must be signed in to change notification settings

Relativ-IT/Butane-Schemas

Repository files navigation

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

About

Butane Schemas that helps creating Butane files for Fedora Coreos

Resources

License

Stars

Watchers

Forks

Languages