Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion docs/src/servers/home-k8s-images.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Bootable container images for the home K8s cluster (bihar, karnataka, starter).

Each image includes:

- **Base:** `projectbluefin/utah` (Hummingbird + GNOME 51 desktop + Bluefin theming)
- **Base:** `projectbluefin/utah:stable`, pinned by digest (Hummingbird + GNOME 51 desktop + Bluefin theming). Utah is experimental pre-alpha, including its stable stream.
- **K3s:** Kubernetes v1.36.1 + SELinux policy
- **Storage:** iSCSI utils, NFS utils, Longhorn tools
- **Networking:** NetworkManager, Tailscale, iptables-nft
Expand Down Expand Up @@ -51,6 +51,8 @@ Both are public (no login required).

### From Installer ISO

Live media enables the local console and serial `ttyS0` for installation, including when the base image masks the serial instance.

1. **Boot the ISO** from USB stick (UEFI, Secure Boot must be disabled)
2. **At root console:**
```bash
Expand Down
2 changes: 1 addition & 1 deletion server-images/Containerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG BASE_IMAGE=ghcr.io/projectbluefin/utah:latest
ARG BASE_IMAGE=ghcr.io/projectbluefin/utah@sha256:8388d48e20407fa477b6e8650d0b7a337a18ea411446d819e36e6f700e331eca
ARG PACKAGE_IMAGE=ghcr.io/projectbluefin/utah-packages@sha256:d257e97a0057e37da47995bb142c180e2352960ab13bd44594215616a395b717
FROM ${PACKAGE_IMAGE} AS packages
FROM ${BASE_IMAGE} AS common
Expand Down
2 changes: 1 addition & 1 deletion server-images/compose.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ dnf5 -y --enable-repo=utah-packages --enable-repo=fedora-storage \
iwlwifi-dvm-firmware iwlwifi-mvm-firmware \
realtek-firmware mt7xxx-firmware atheros-firmware brcmfmac-firmware \
NetworkManager-wifi wpa_supplicant tailscale iptables-nft \
xfsprogs btrfs-progs
xfsprogs btrfs-progs iscsi-initiator-utils nfs-utils

curl --fail --location \
"https://github.com/k3s-io/k3s/releases/download/${K3S_VERSION}/k3s" -o /usr/bin/k3s
Expand Down
7 changes: 6 additions & 1 deletion server-images/installer/configure.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,15 @@ dnf5 -y --enablerepo=fedora-storage --setopt=install_weak_deps=False \
install dracut-live systemd-boot-unsigned
# These masks belong to live media only, never to the embedded server payload.
systemctl mask k3s@server.service k3s@agent.service
# The Utah base masks serial-getty; live media needs both consoles for installation.
systemctl unmask getty@tty1.service serial-getty@ttyS0.service
# The image also masks this instance in /usr/lib; an /etc override wins over it.
ln -sfn /usr/lib/systemd/system/serial-getty@.service /etc/systemd/system/serial-getty@ttyS0.service
systemctl enable getty@tty1.service serial-getty@ttyS0.service
mkdir -p /var/roothome
kernel=$(basename /usr/lib/modules/*)
dracut --force --reproducible --no-hostonly --add dmsquash-live --omit 'tpm2-tss pcsc' --add-drivers 'squashfs overlay loop iso9660 sr_mod cdrom' "/usr/lib/modules/$kernel/initramfs.img" "$kernel" 2>&1 | tee /tmp/dracut-installer.log
# The bootc payload deliberately clears /var; use the build container's /tmp.
TMPDIR=/tmp dracut --force --reproducible --no-hostonly --add dmsquash-live --omit 'tpm2-tss pcsc' --add-drivers 'squashfs overlay loop iso9660 sr_mod cdrom' "/usr/lib/modules/$kernel/initramfs.img" "$kernel" 2>&1 | tee /tmp/dracut-installer.log
if grep -q 'dracut\[E\]: FAILED' /tmp/dracut-installer.log; then
echo 'Live initramfs construction failed' >&2
exit 1
Expand Down
Loading