Added some more detail

This commit is contained in:
Brandon Rozek 2026-06-11 19:57:52 -04:00
parent d7b9fbfa0c
commit 3aa031fdf4

View file

@ -27,7 +27,7 @@ When I was following the documentation, one of the parts I got tripped up on was
In other words, if you're fine with the defaults and there's a DHCP server running on your network, then the *base Butane config outlined in the documentation is sufficient*. In other words, if you're fine with the defaults and there's a DHCP server running on your network, then the *base Butane config outlined in the documentation is sufficient*.
From the official documentation: From the official documentation (write this to a file such as `config.bu`):
```yaml ```yaml
variant: fcos variant: fcos
@ -41,6 +41,11 @@ passwd:
Where you replace the `ssh-rsa` line with your own SSH public key file. Where you replace the `ssh-rsa` line with your own SSH public key file.
Then, in order to get the ignition file, we can run the following command:
```bash
podman run --interactive --rm quay.io/coreos/butane:release --pretty --strict < config.bu > config.ign
```
## Running Software ## Running Software
For the most part, using OSTree to install additional packages is [highly discouraged](https://docs.fedoraproject.org/en-US/fedora-coreos/faq/#_how_do_i_run_custom_applications_on_fedora_coreos). Instead, it's suggested to install and run things through [containers](https://docs.fedoraproject.org/en-US/fedora-coreos/running-containers/). The official documentation shows how to set up containers via the Butane configuration above, however, I kept my file as simple as shown above. Instead since `/etc/containers/systemd` is writable, I wrote [Podman Quadlet files](https://brandonrozek.com/blog/migrating-docker-compose-podman-quadlets/) directly ([Official Quadlet Documentation](https://docs.podman.io/en/latest/markdown/podman-systemd.unit.5.html)). For the most part, using OSTree to install additional packages is [highly discouraged](https://docs.fedoraproject.org/en-US/fedora-coreos/faq/#_how_do_i_run_custom_applications_on_fedora_coreos). Instead, it's suggested to install and run things through [containers](https://docs.fedoraproject.org/en-US/fedora-coreos/running-containers/). The official documentation shows how to set up containers via the Butane configuration above, however, I kept my file as simple as shown above. Instead since `/etc/containers/systemd` is writable, I wrote [Podman Quadlet files](https://brandonrozek.com/blog/migrating-docker-compose-podman-quadlets/) directly ([Official Quadlet Documentation](https://docs.podman.io/en/latest/markdown/podman-systemd.unit.5.html)).