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.2 KiB
2.2 KiB
Podman Quadlet: Base
Overview
The base cookbook provides the foundational configuration shared by all cookbooks, whatever the underlying operating system. It includes:
- Tools installation: the install-tools.service oneshot runs every script found in
/etc/quadlets/base/install-tools.d/. Versions are pinned in/etc/quadlets/base/install-tools.env. The service is skipped when this file is absent. - fastfetch: a system information tool installed by install-tools.service and displayed on login, with color-coded output (red for root, blue for regular users).
- resolv.conf resync: keeps
Network=hostcontainers in sync with the host's DNS. WithNetwork=host, Podman snapshots/etc/resolv.confat container creation and bind-mounts the copy, so a later DNS change (e.g. a DHCP renewal) never reaches running containers. Asystemd.pathunit watches/etc/resolv.confand a oneshot service rewrites each host-network container's snapshot in place (same inode, no restart); bridged containers are left untouched. See issue #1. - Container teardown drop-in (example): a
container.ddrop-in that makessystemctl stopwait until the container has actually been removed. - Base images:
fedora.imageandcentos-stream10.imagepull the base images used by other cookbooks to build their own images. - Users and groups: creates the
itix-svcservice account (uid/gid 10000) and, in the Butane spec, theitixgroup (gid 1000) and removes the defaultcoreuser.
This cookbook is an implicit dependency of every other cookbook, except coreos. It depends itself implicitly on the coreos cookbook, which holds everything specific to Fedora CoreOS.
Usage
In a separate terminal, follow the logs.
sudo make tail-logs
Install the base configuration.
sudo make clean install
You should see the install-tools.service downloading and installing fastfetch. On next login, fastfetch will display system information.
To verify the installation:
fastfetch --version
Finally, remove the configuration and its data.
sudo make uninstall clean