From 4f6320870bf2387c1d8eac2a780fa69aefa0761e Mon Sep 17 00:00:00 2001 From: rene Date: Mon, 9 Mar 2026 21:08:55 +0100 Subject: [PATCH] Autoinstall: late-commands reduzieren (kein Netzwerk im Installer) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Broadcom-WLAN hat keinen Treiber in der Live-Umgebung, daher schlagen alle Netzwerk-abhängigen late-commands fehl. Nur noch usermod -aG sudo rene als late-command. setup-base.sh und setup-desktop.sh werden nach manueller WLAN-Einrichtung gestartet. Co-Authored-By: Claude Opus 4.6 --- user-data | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/user-data b/user-data index 162d78b..3932e18 100644 --- a/user-data +++ b/user-data @@ -17,14 +17,3 @@ autoinstall: late-commands: # User rene zur sudo-Gruppe hinzufuegen - curtin in-target --target=/target -- usermod -aG sudo rene - # WireGuard-Config vom Installationsmedium kopieren (falls vorhanden) - - bash -c 'if [ -f /cdrom/autoinstall/wg0.conf ]; then mkdir -p /target/etc/wireguard && cp /cdrom/autoinstall/wg0.conf /target/etc/wireguard/wg0.conf && chmod 600 /target/etc/wireguard/wg0.conf; fi' - # WireGuard beim Boot aktivieren - - curtin in-target --target=/target -- bash -c 'if [ -f /etc/wireguard/wg0.conf ]; then systemctl enable wg-quick@wg0; fi' - # System-Setup in chroot (Pakete, Configs, Locale, Services) - - curtin in-target --target=/target -- bash -c 'curl -fsSL https://git.motocamp.de/rene/macbook-setup/raw/branch/main/setup-base.sh | bash -s -- 16' - # Desktop-Setup als Firstboot-Autostart einrichten - - curtin in-target --target=/target -- mkdir -p /home/rene/.config/autostart - - curtin in-target --target=/target -- bash -c 'printf "[Desktop Entry]\nType=Application\nName=MacBook Setup Desktop\nExec=bash -c \"curl -fsSL https://git.motocamp.de/rene/macbook-setup/raw/branch/main/setup-desktop.sh | bash 2>&1 | tee /tmp/setup-desktop.log\"\nHidden=false\nX-GNOME-Autostart-enabled=true\n" > /home/rene/.config/autostart/macbook-setup-desktop.desktop' - - curtin in-target --target=/target -- chown -R 1000:1000 /home/rene/.config - # Fuer MBP 16": oben "13" durch "16" ersetzen