Skip to content
šŸ“¦ConfigsĀ·

CoreOS Infrastructure

Butane YAML and Podman Quadlet templates that turn a VM or old box into a Fedora CoreOS appliance, with AdGuard Home DNS up on first boot.

Fedora CoreOS is an appliance OS. No desktop, no dnf install of a pile of packages, and no SSHing in after every reboot to start DNS by hand. This repo holds my configs: Butane YAML that compiles to Ignition JSON, plus Podman Quadlet units so a container runs as a systemd service instead of a one-off podman run.

I use it for a VM or an old laptop whose only job is something like AdGuard Home or Pi-hole. The box comes up, takes an SSH key, binds port 53, and stays out of the way. If you want a GUI jumphost, use Fedora Workstation, Fedora 44 XFCE, or Silverblue instead.

Why it exists

CoreOS needs an Ignition file to install. Writing that YAML from memory for every lab VM is how you forget to disable systemd-resolved’s stub listener, then wonder why AdGuard can’t bind :53. These templates are the ones I’ve already worked through on camera.

There are two starting points:

  • Basic.bu: core user, SSH public key, nothing else. Use this if you haven’t decided the box’s job yet or want to add Quadlets after first boot.
  • AdGuardHomeQuadlet.bu: data directories under /var, resolved stub disabled, and AdGuard Home as a rootless Quadlet on the host network. If the Ignition file was served correctly, DNS works on first boot.

I add configs as the videos need them. Pi-hole as a Quadlet is on the blog even if the matching .bu isn’t in the repo yet. Copy the unit into Butane storage.files the same way the AdGuard example does.

How it fits the rest of the site

The full install is Beginner’s Guide to Fedora CoreOS (with Bitwarden SSH Keys): generate an SSH key in Bitwarden, write Butane, convert to Ignition, share it with the installer, deploy AdGuard. Once the box is up, see AdGuard Home as a Quadlet and Pi-hole as a Quadlet. For nightly host reboots (optional, and not a security strategy on their own), see systemd timers on CoreOS.

The repo has the files. The blog explains why and what can go wrong.

How to try it

  1. Clone the repo and pick a .bu file. Put your SSH public key in passwd.users. If you leave the example key, you’ll lock yourself out.
  2. Convert Butane to Ignition with the official container (skip a local butane binary unless you already maintain one):
Terminal window
git clone https://github.com/TheLinuxITGuy/CoreOS.git
cd CoreOS
podman run -i --rm quay.io/coreos/butane:release --strict < AdGuardHomeQuadlet.bu > adguard.ign
  1. Serve or attach the .ign file the way the CoreOS installer expects (HTTP on the LAN, coreos-installer with --ignition-url / --ignition-file, or whatever the current bare-metal docs say for your stream).
  2. Install Fedora CoreOS from the official bare-metal ISO. On first boot, SSH in as core. For AdGuard, check port 53 and the web UI before you point DHCP at the box.
  3. Give the box a static IP. If DHCP changes it overnight, every client’s DNS breaks. The blog examples use a LAN address; use yours.

Video: Fedora CoreOS + Bitwarden + AdGuard on YouTube.

What this is not

It’s not Kubernetes, not OpenShift, and not a replacement for Rocky Scripts on a workstation. Don’t put Hyprland on CoreOS. Don’t run two resolvers (Pi-hole and AdGuard) on the same IP and port 53. If you need a WAF, that’s a different machine (SafeLine).

Repo

Full templates and updates: github.com/TheLinuxITGuy/CoreOS.