mirror of
https://github.com/Brandon-Rozek/website.git
synced 2026-06-22 06:37:54 +00:00
Added some more detail
This commit is contained in:
parent
d7b9fbfa0c
commit
3aa031fdf4
1 changed files with 6 additions and 1 deletions
|
|
@ -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*.
|
||||
|
||||
From the official documentation:
|
||||
From the official documentation (write this to a file such as `config.bu`):
|
||||
|
||||
```yaml
|
||||
variant: fcos
|
||||
|
|
@ -41,6 +41,11 @@ passwd:
|
|||
|
||||
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
|
||||
|
||||
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)).
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue