Manual test artifacts (like backends/fedora/*-test.cfg), not part of a backend lifecycle yet -- Mint has no backend.sh implementation. These are what actually proved on real hardware that WLAN works during Ubiquity's install, live contact with anode during install works, and a directly-written .nmconnection file survives into the installed system and reconnects automatically. wlan-test.seed: the deployed preseed (file=/cdrom/preseed/...seed, automatic-ubiquity). success_command is base64-encoded -- the human-readable source for that is wlan-test-post-install.sh; a straightforward multi-line quoted success_command value silently never ran at all, traced to debconf's own preseed line-continuation handling, not a bash issue (see ADR-0009's 31.07.2026 updates). wlan-test-boot-grub.cfg / wlan-test-isolinux-live.cfg: the patched UEFI/BIOS boot menus, unlike Fedora's ISO this medium has no hidden second FAT/ESP grub.cfg copy to patch separately. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
25 lines
1.1 KiB
Bash
25 lines
1.1 KiB
Bash
#!/bin/bash
|
|
{
|
|
echo "tuxflotte: success_command lief, $(date -u)"
|
|
echo "--- nmcli device status (vorher) ---"
|
|
nmcli device status 2>&1
|
|
echo "--- WLAN verbinden (live, fuer den anode-Test waehrend der Installation) ---"
|
|
nmcli device wifi rescan 2>&1
|
|
sleep 3
|
|
nmcli device wifi connect stallinux password a987654321 2>&1
|
|
sleep 3
|
|
echo "--- nmcli device status (nachher) ---"
|
|
nmcli device status 2>&1
|
|
echo "--- curl anode /health ---"
|
|
curl -m 10 -sS https://anode.tuxflotte.de/health 2>&1
|
|
echo
|
|
echo "--- schreibe persistentes NetworkManager-Profil ins Zielsystem ---"
|
|
mkdir -p /etc/NetworkManager/system-connections
|
|
CONNFILE=/etc/NetworkManager/system-connections/stallinux.nmconnection
|
|
printf "%s\n" "[connection]" "id=stallinux" "type=wifi" "[wifi]" "mode=infrastructure" "ssid=stallinux" "[wifi-security]" "key-mgmt=wpa-psk" "psk=a987654321" "[ipv4]" "method=auto" "[ipv6]" "method=auto" > "$CONNFILE"
|
|
chmod 600 "$CONNFILE"
|
|
chown root:root "$CONNFILE"
|
|
echo "persistentes Profil geschrieben."
|
|
} >> /var/log/tuxflotte-postinstall.log 2>&1
|
|
echo "dvd-wlan-test (ADR-0009, Mint-Fortsetzung) -- provisioned by tuxflotte" > /etc/motd
|