Skip to content

Custom Fedora Kinoite images with some overlayed packages

License

Notifications You must be signed in to change notification settings

travier/fedora-kinoite

Repository files navigation

Custom Fedora Kinoite images

This repository hosts Containerfiles and GitHub workflows to create custom Fedora Kinoite images for my own usage.

The main image (quay.io/travier/fedora-kinoite:latest) is based on Fedora Kinoite with the following packages overlayed:

  • libvirtd (libvirt-daemon libvirt-daemon-config-network libvirt-daemon-driver-interface libvirt-daemon-driver-network libvirt-daemon-driver-nwfilter libvirt-daemon-driver-qemu libvirt-daemon-driver-secret libvirt-daemon-driver-storage-core libvirt-dbus qemu-kvm)
  • iwd (a better wifi daemon than wpa_supplicant)
  • sysprof
  • vim, zsh, htop, distrobox
  • steam-devices for Steam Input (works with Steam Flatpak)

and the following default configuration:

  • iwd set as default wifi daemon, replacing wpa_supplicant
  • NetworkManager configured to only use keyfiles
  • container policy set to verify those container images and toolbox images

The others images are currently used for testing various in progress changes for Fedora Kinoite.

How to use

  • Install Fedora Kinoite, update to the latest version and reboot.

  • Setup the key to validate container image signatures:

# Install public key
$ sudo mkdir /etc/pki/containers
$ curl -O "https://raw.githubusercontent.com/travier/fedora-kinoite/main/quay.io-travier-fedora-kinoite.pub"
$ sudo cp quay.io-travier-fedora-kinoite.pub /etc/pki/containers/
$ sudo restorecon -RFv /etc/pki/containers

# Configure registry to get sigstore signatures
$ cat /etc/containers/registries.d/quay.io-travier-fedora-kinoite.yaml
docker:
  quay.io/travier/fedora-kinoite:
    use-sigstore-attachments: true
$ sudo restorecon -RFv /etc/containers/registries.d/quay.io-travier-fedora-kinoite.yaml

# Setup the policy
$ sudo cp etc/containers/policy.json /etc/containers/policy.json
$ cat /etc/containers/policy.json
{
    "default": [
        {
            "type": "reject"
        }
    ],
    "transports": {
        "docker": {
            ...
            "quay.io/travier/fedora-kinoite": [
                {
                    "type": "sigstoreSigned",
                    "keyPath": "/etc/pki/containers/quay.io-travier-fedora-kinoite.pub",
                    "signedIdentity": {
                        "type": "matchRepository"
                    }
                }
            ],
            ...
            "": [
                {
                    "type": "insecureAcceptAnything"
                }
            ]
        },
        ...
    }
}
  • Then rebase to this image:
$ rpm-ostree rebase ostree-image-signed:registry:quay.io/travier/fedora-kinoite:latest

Then update normally using rpm-ostree update or Discover.

Important notes

  • The base images are not yet official Fedora images. The location will change.
  • The images are only available for x86_64 for now.

License

See LICENSE or CC0.

About

Custom Fedora Kinoite images with some overlayed packages

Resources

License

Security policy

Stars

Watchers

Forks