Collection of cookbooks for Podman Quadlets
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.
 
 
 
 

1.6 KiB

Podman Quadlet: Base

Overview

The base cookbook provides foundational configuration for Fedora CoreOS systems. It includes:

  • fastfetch: A system information tool displayed on login, with color-coded output (red for root, blue for regular users).
  • tmpfiles configuration: Sets up required directories such as /var/lib/virtiofs/data.
  • QEMU guest agent: Optional installation for better VM integration.
  • SSH key persistence: Backs up and restores SSH host keys across reboots.
  • resolv.conf resync: Keeps Network=host containers in sync with the host's DNS. With Network=host, Podman snapshots /etc/resolv.conf at container creation and bind-mounts the copy, so a later DNS change (e.g. a DHCP renewal) never reaches running containers. A systemd.path unit watches /etc/resolv.conf and a oneshot service rewrites each host-network container's snapshot in place (same inode, no restart); bridged containers are left untouched. See issue #1.

This cookbook is used as an implicit dependency for other cookbooks that run on 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-fastfetch.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