You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
2 weeks ago | |
|---|---|---|
| .. | ||
| tmpfiles.d | 2 weeks ago | |
| Makefile | 2 weeks ago | |
| README.md | 2 weeks ago | |
| discover-virtiofs-tags.service | 2 weeks ago | |
| overlay.bu | 2 weeks ago | |
| rpm-ostree-install-qemu-guest-agent.service | 2 weeks ago | |
| var-lib-virtiofs-data.mount | 2 weeks ago | |
README.md
Podman Quadlet: CoreOS
Overview
The coreos cookbook provides the configuration specific to Fedora CoreOS systems. It includes:
- virtiofs data mount: the discover-virtiofs-tags.service lists the virtiofs tags exposed by the hypervisor.
When a
datatag is present, var-lib-virtiofs-data.mount mounts it on/var/lib/virtiofs/datawith thecontainer_file_tSELinux context, so containers can use it. - tmpfiles configuration: creates the
/var/lib/virtiofsdirectory. - QEMU guest agent: when running on KVM, rpm-ostree-install-qemu-guest-agent.service layers
qemu-guest-agentwithrpm-ostree, applies it live and starts it. - SSH key persistence (Butane spec only): backs up the SSH host keys in
/var/lib/private/sshdand restores them on reinstall, so the host keeps its identity. - DNS configuration (Butane spec only): masks
systemd-resolvedand lets NetworkManager write/etc/resolv.confdirectly (rc-manager=file).
This cookbook is an implicit dependency of every other cookbook, including base. It has no dependencies itself.
Usage
This cookbook requires rpm-ostree, so it can only be installed on Fedora CoreOS.
In a separate terminal, follow the logs.
sudo make tail-logs
Install the CoreOS configuration.
sudo make clean install
On a KVM virtual machine, you should see the rpm-ostree-install-qemu-guest-agent.service installing the QEMU guest agent.
To verify the installation:
systemctl status qemu-guest-agent.service
findmnt /var/lib/virtiofs/data
Finally, remove the configuration and its data.
sudo make uninstall clean