The Butane Python Toolkit
Bupy was built to help users develop Butane configurations for Fedora CoreOS quickly on their workstations. It allows you to convert Butane YAML to Ignition JSON and render Butane Jinja2 templates to either Butane YAML or Ignition JSON. You can then use your Butane file or template to launch a local QEMU Virtual Machine.
- Python 3.8.10^
- butane
- qemu
- If possible, a positive attitude
-
Convert Support
-
Jinja2 Template Support
-
Launch a local QEMU FCOS VM
-
Merge Butane YAML (snippets)
-
Serve Ignition JSON via HTTP
-
Libvirt support
You can watch a quick demo of Bupy on Youtube.
- Clone this repo
- Install dependencies
poetry install
- Activate a poetry shell
poetry shell
- Make changes...
- See them in action
bupy --help
Usage: bupy [OPTIONS] COMMAND [ARGS]...
Bupy: Butane Python toolkit.
╭─ Options ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ --version -v Show the version and exit. │
│ --install-completion Install completion for the current shell. │
│ --show-completion Show completion for the current shell, to copy it or customize the installation. │
│ --help Show this message and exit. │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
╭─ Commands ─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ convert Converts Butane YAML to Ignition JSON │
│ template Renders a Jinja2 Template to Butane YAML or Ignition JSON │
│ vm Launches a QEMU VM with a Butane YAML or Jinja2 Template │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
Made in ✶✶✶✶ Chicago✶✶✶✶ 〜 (c) 2023 QuickVM, LLC
Copyright 2023 QuickVM, LLC