tuxflotte-installer/backends/fedora/kexec-reboot-test.cfg
Thomas Stallinger 223bbd7c24 test: add manual kexec/kickstart-on-cdrom test scripts for ADR-0009
Not part of the backend lifecycle (40_backend.sh) -- run by hand during
the live/netinstall boot flow investigation documented in ADR-0009.

kexec-reboot-test.sh/.cfg: tests whether inst.ks= can trigger Anaconda
via kexec from within the running Fedora Cinnamon live session, without
a real firmware reboot. Conclusively fails: the live initrd has no
anaconda dracut module at all.

wlan-netinst-test.cfg: the kickstart used to validate inst.ks=cdrom:/ks.cfg
on a real Fedora netinstall ISO, including the failed WLAN activation
attempts (network --wpakey=, then %pre nmcli) that exposed the missing
iwlwifi driver in that image's initrd.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-30 13:28:19 +02:00

43 lines
1.4 KiB
INI

#version=DEVEL
# Test-Kickstart fuer ADR-0009, Pruefplan-Schritt 2 (kexec statt Neustart aus
# der Live-Sitzung). Kein Platzhalter-Templating wie kickstart.tpl -- feste
# Testwerte, damit sich das Ergebnis eindeutig einer Ursache zuordnen laesst.
#
# Versuch 2: keine liveimg-Zeile mehr. Versuch 1 (root=live:CDLABEL=...
# rd.live.image) landete trotz inst.ks= wieder im normalen Live-Desktop --
# vermutlich weil root=live/rd.live.image Dracuts dmsquash-live-Pfad
# ausloesen, der inst.ks= ignoriert. Jetzt setzt inst.stage2=hd:LABEL=
# TUXFLOTTE:/ (siehe kexec-reboot-test.sh) die Installationsquelle bereits
# auf Boot-Ebene -- eine zusaetzliche liveimg-Zeile hier waere eine zweite,
# moeglicherweise widerspruechliche Quellenangabe. Der %packages-Abschnitt
# wird von Anaconda bei einer liveimg-artigen Quelle ignoriert
# (dokumentiertes pykickstart-Verhalten) -- absichtlich leer gelassen.
text
reboot
lang de_DE.UTF-8
keyboard de
timezone Europe/Berlin --utc
rootpw --plaintext test123
user --name=tuxflotte --groups=wheel --password=test123
network --bootproto=dhcp --activate --hostname=fedora-kexec-test
zerombr
clearpart --all --initlabel
autopart
firewall --enabled
selinux --enforcing
bootloader --location=mbr
%post
cat > /etc/motd <<'EOF'
kexec-reboot-test (ADR-0009, Schritt 2) -- provisioned by tuxflotte
EOF
echo "tuxflotte: kexec-reboot-test %post lief durch." >> /var/log/tuxflotte-postinstall.log
%end