Skip to content

Instantly share code, notes, and snippets.

@jakelmg
jakelmg / butane to ignition.md
Last active July 11, 2025 07:16
Simple instructions for how to convert a Butane human-readable YAML config file for operating systems like Flatcar Container Linux, into a system-readable Ignition json file.
  1. Install Butane, which you'll need to convert the human-readable Butane config to a system-readable Ignition config:
    • Windows (in cmd)
      winget install butane
      
    • MacOS (in terminal, requires Homebrew):
      brew install butane
      
  • Debian/Ubuntu Linux:
{
"ignition": {
"version": "3.3.0"
},
"kernelArguments": {
"shouldExist": [
"flatcar.autologin"
]
},
"passwd": {
@jakelmg
jakelmg / lancache-flatcar-config.yaml
Last active July 11, 2025 10:32
LAN Cache Flatcar Butane Config Example (RAID 0 XFS, Bonded Network)
variant: flatcar
version: 1.0.0
kernel_arguments:
should_exist:
- flatcar.autologin
passwd:
users:
- name: core
ssh_authorized_keys:
- "ssh-ed25519 T0r5c5h2exdqJOsFgoimZmnNGkOwHse6CkbMcGrW8pi0vxXbkgdmcRDIepuw EXAMPLE SSH KEY"