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>
80 lines
2.5 KiB
INI
80 lines
2.5 KiB
INI
#version=DEVEL
|
|
# Test-Kickstart fuer ADR-0009 Ultima Ratio, WLAN-Schritt.
|
|
#
|
|
# Liegt direkt auf dem ISO (inst.ks=cdrom:/ks.cfg), wird NICHT per Netz
|
|
# geladen: das Boot-Initrd von Fedora-Netinstall enthaelt zwar WLAN-Treiber
|
|
# und NetworkManager, aber kein wpa_supplicant (real geprueft, siehe
|
|
# ADR-0009-Update) -- WPA waere in dieser fruehen Phase also gar nicht
|
|
# moeglich, unabhaengig von einem gebackenen Verbindungsprofil.
|
|
#
|
|
# wpa_supplicant liegt stattdessen in images/install.img (Anacondas
|
|
# groesseres Laufzeit-Environment, nach dem Initrd nachgeladen).
|
|
#
|
|
# Versuch 1 (mit --activate): real getestet, haengt in
|
|
# dracut-initqueue.service -- --activate zwingt Anaconda offenbar, das
|
|
# Geraet bereits in der Dracut-Phase hochzufahren, also genau dort, wo
|
|
# wpa_supplicant fehlt.
|
|
#
|
|
# Versuch 2 (--activate entfernt, sonst gleiche network-Zeile): ebenfalls
|
|
# real getestet, haengt identisch. Also nicht --activate selbst der
|
|
# Ausloeser -- schon die blosse Angabe von --essid/--wpakey auf einer
|
|
# network-Zeile lasst Anaconda den Dracut-Hook fuer dieses Geraet ausfuehren,
|
|
# unabhaengig vom Aktivierungs-Flag.
|
|
#
|
|
# Versuch 3 (dieser): network-Zeile komplett ohne WLAN-Details (nur noch
|
|
# Hostname), damit Dracut fuer wlan0 gar nichts versucht. WLAN-Verbindung
|
|
# stattdessen per %pre-Skript ueber nmcli -- %pre laeuft laut
|
|
# Kickstart-Ablauf bereits in Anacondas voller install.img-Umgebung (nach
|
|
# dem Stage2-Laden, vor der Paketinstallation), also genau dort, wo
|
|
# wpa_supplicant vorhanden ist. Kein Hack, nmcli ist offiziell fuer genau
|
|
# diesen Zweck vorgesehen.
|
|
#
|
|
# %packages braucht danach echtes Netz (dies ist ein Netinstall-Repo, keine
|
|
# lokalen Pakete) -- ein vollstaendiger Durchlauf beweist also, dass die
|
|
# WPA-Anmeldung ueber nmcli tatsaechlich funktioniert hat.
|
|
|
|
text
|
|
reboot
|
|
|
|
lang de_DE.UTF-8
|
|
keyboard de
|
|
timezone Europe/Berlin --utc
|
|
|
|
rootpw --plaintext test123
|
|
user --name=tuxflotte --groups=wheel --password=test123
|
|
|
|
network --hostname=fedora-wlan-test
|
|
|
|
zerombr
|
|
clearpart --all --initlabel
|
|
autopart
|
|
|
|
firewall --enabled
|
|
selinux --enforcing
|
|
|
|
bootloader --location=mbr
|
|
|
|
%pre
|
|
nmcli device wifi connect stallinux password a987654321 ifname wlan0
|
|
ec=$?
|
|
{
|
|
echo "tuxflotte: %pre nmcli exit=${ec}"
|
|
nmcli device status
|
|
nmcli connection show
|
|
} > /tmp/tuxflotte-wlan-pre.log 2>&1
|
|
exit 0
|
|
%end
|
|
|
|
%packages
|
|
@core
|
|
vim
|
|
curl
|
|
%end
|
|
|
|
%post
|
|
cat > /etc/motd <<'EOF'
|
|
wlan-netinst-test (ADR-0009 Ultima Ratio, WLAN-Schritt) -- provisioned by tuxflotte
|
|
EOF
|
|
echo "tuxflotte: wlan-netinst-test %post lief durch." >> /var/log/tuxflotte-postinstall.log
|
|
%end
|