Skip to content

Commit 3aa031f

Browse files
committed
Added some more detail
1 parent d7b9fbf commit 3aa031f

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

content/blog/fedora-coreos-first-impressions.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ When I was following the documentation, one of the parts I got tripped up on was
2727

2828
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*.
2929

30-
From the official documentation:
30+
From the official documentation (write this to a file such as `config.bu`):
3131

3232
```yaml
3333
variant: fcos
@@ -41,6 +41,11 @@ passwd:
4141
4242
Where you replace the `ssh-rsa` line with your own SSH public key file.
4343

44+
Then, in order to get the ignition file, we can run the following command:
45+
```bash
46+
podman run --interactive --rm quay.io/coreos/butane:release --pretty --strict < config.bu > config.ign
47+
```
48+
4449
## Running Software
4550

4651
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)).

0 commit comments

Comments
 (0)