2026-03-01 13:19:54 +01:00
|
|
|
# ISO configuration for a bootc-based installer ISO
|
2026-02-17 17:27:26 +01:00
|
|
|
|
2026-03-01 13:19:54 +01:00
|
|
|
# --- Kickstart: post-install bootc switch ---
|
2026-09-27 18:48:10 +02:00
|
|
|
# HINWEIS: lang/keyboard laesst Anaconda u.a. /etc/vconsole.conf schreiben
|
|
|
|
|
# (deutsche TTYs). Die :stable-Referenz unten wird beim lokalen ISO-Build
|
|
|
|
|
# per Justfile auf $target_image:$tag umgeschrieben (Test-ISOs!).
|
2026-02-17 17:27:26 +01:00
|
|
|
[customizations.installer.kickstart]
|
|
|
|
|
contents = """
|
2026-10-03 20:34:03 +02:00
|
|
|
# --- Sprache / Tastatur / Zeitzone (Vorauswahl, Localization-Modul aktiv) ---
|
2026-09-27 18:48:10 +02:00
|
|
|
lang de_DE.UTF-8
|
|
|
|
|
keyboard --vckeymap=de --xlayouts='de'
|
|
|
|
|
timezone Europe/Berlin --utc
|
2026-10-03 20:34:03 +02:00
|
|
|
# --- Netzwerk (frueh aktivieren: %post bootc switch braucht Registry-Zugriff) ---
|
2026-10-17 13:12:32 +02:00
|
|
|
network --bootproto=dhcp --device=link --activate --hostname=fluffy-pancake
|
2026-10-03 20:34:03 +02:00
|
|
|
# --- Bootloader ---
|
|
|
|
|
bootloader --location=mbr
|
|
|
|
|
# --- Automatische Partitionierung (bootc-Rezept, passt zu --rootfs=btrfs) ---
|
|
|
|
|
# zerombr + clearpart: leere/gebrauchte Platten deterministisch zuruecksetzen,
|
|
|
|
|
# sonst bricht Anaconda auf wiederverwendeten Disks ab.
|
2026-10-03 23:11:34 +02:00
|
|
|
# autopart --type=btrfs: legt /boot + EFI + Btrfs-Root selbst an und
|
|
|
|
|
# schliesst LVM aus (LVM duerfen bootc-Deployments NICHT verwenden).
|
|
|
|
|
# HINWEIS: reqpart darf NICHT daneben stehen, Anaconda beendet sich sonst
|
|
|
|
|
# mit "autopart and reqpart can't be used at the same time".
|
2026-10-03 20:34:03 +02:00
|
|
|
zerombr
|
|
|
|
|
clearpart --all --initlabel --disklabel=gpt
|
|
|
|
|
autopart --type=btrfs
|
|
|
|
|
%post --log=/root/anaconda-post.log
|
|
|
|
|
# Switch to the custom bootc image after installation.
|
|
|
|
|
# Absichtlich tolerant (|| true): Das Container-Deployment ist zu diesem
|
|
|
|
|
# Zeitpunkt bereits erfolgt. Ohne Netz/Auth (privates Registry, Offline-
|
|
|
|
|
# Test) darf ein fehlender Switch die Installation NICHT abbrechen.
|
|
|
|
|
bootc switch --mutate-in-place --transport registry humocs-man.duckdns.org/humocs-man/fluffy-pancake:stable || echo "WARN: bootc switch fehlgeschlagen, installiertes Image bleibt aktiv"
|
2026-02-17 17:27:26 +01:00
|
|
|
%end
|
|
|
|
|
"""
|
|
|
|
|
|
2026-03-01 13:19:54 +01:00
|
|
|
# --- Anaconda installer modules ---
|
2026-10-03 17:05:37 +02:00
|
|
|
# Localization ist bewusst dabei: Nur mit diesem Modul zeigt der Installer
|
|
|
|
|
# den Sprachen-/Tastatur-Dialog und schreibt /etc/locale.conf + vconsole.
|
|
|
|
|
# Ohne es faellt das System auf C.UTF-8 zurueck (kein Deutsch in Apps).
|
|
|
|
|
# Die Kickstart-Werte oben (de_DE, de) dienen als Vorauswahl.
|
2026-02-17 17:27:26 +01:00
|
|
|
[customizations.installer.modules]
|
|
|
|
|
enable = [
|
2026-03-01 13:19:54 +01:00
|
|
|
"org.fedoraproject.Anaconda.Modules.Storage",
|
|
|
|
|
"org.fedoraproject.Anaconda.Modules.Runtime",
|
|
|
|
|
"org.fedoraproject.Anaconda.Modules.Network",
|
|
|
|
|
"org.fedoraproject.Anaconda.Modules.Security",
|
|
|
|
|
"org.fedoraproject.Anaconda.Modules.Services",
|
|
|
|
|
"org.fedoraproject.Anaconda.Modules.Users",
|
2026-10-03 17:05:37 +02:00
|
|
|
"org.fedoraproject.Anaconda.Modules.Timezone",
|
|
|
|
|
"org.fedoraproject.Anaconda.Modules.Localization"
|
2026-02-17 17:27:26 +01:00
|
|
|
]
|
|
|
|
|
|
|
|
|
|
disable = [
|
2026-03-01 13:19:54 +01:00
|
|
|
"org.fedoraproject.Anaconda.Modules.Subscription"
|
2026-02-17 17:27:26 +01:00
|
|
|
]
|