diff --git a/backends/mint/backend.sh b/backends/mint/backend.sh index 89e477f..ca179bb 100644 --- a/backends/mint/backend.sh +++ b/backends/mint/backend.sh @@ -363,9 +363,21 @@ backend_launch() { backend_log "Lade Kexec-Ziel fuer automatisierten Ubiquity-Start." + # "noninteractive" (eigenes Boot-Keyword, siehe /usr/share/ubiquity/ + # start-ubiquity-dm) laesst casper statt der GTK-Oberflaeche (ubiquity-dm + # -> gtk_ui.py) direkt "ubiquity noninteractive" aufrufen - Ubiquitys + # eigenes, mitgeliefertes Headless-Frontend (ubiquity/frontend/ + # noninteractive.py). Das arbeitet jede Seite mit auto_process=True rein + # ueber Debconf ab, ohne jemals ein Fenster zu zeichnen oder einen Klick + # zu erwarten - der Unterschied zu "automatic-ubiquity" alleine: jenes + # startet weiterhin die GTK-Oberflaeche und fuellt dort nur die Werte + # vor, wartet aber pro Seite trotzdem auf "Continue" (real verifiziert, + # siehe ADR-0023-Nachtrag). "automatic-ubiquity" bleibt zusaetzlich + # gesetzt, weil start-ubiquity-dm bei einem GTK/X-Absturz automatisch + # darauf als Fallback in den Noninteractive-Modus zurueckfaellt. kexec -l "${cdrom_vmlinuz}" \ --initrd="${custom_initrd}" \ - --append="boot=casper automatic-ubiquity noprompt file=/preseed.cfg debian-installer/language=de keyboard-configuration/layoutcode=de quiet splash ---" || + --append="boot=casper automatic-ubiquity noninteractive noprompt file=/preseed.cfg debian-installer/language=de keyboard-configuration/layoutcode=de quiet splash ---" || { backend_fatal "kexec -l fehlgeschlagen."; return 1; } backend_log "Starte unbeaufsichtigte Installation (kexec -e). Kein Ruecksprung erwartet - ab hier laeuft die eigentliche Installation im neuen Kernel weiter." diff --git a/live-updates/etc/sudoers.d/90-tuxflotte b/live-updates/etc/sudoers.d/90-tuxflotte index 3609d75..705b1e6 100644 --- a/live-updates/etc/sudoers.d/90-tuxflotte +++ b/live-updates/etc/sudoers.d/90-tuxflotte @@ -1 +1 @@ -liveuser ALL=(ALL) NOPASSWD: ALL +mint ALL=(ALL) NOPASSWD: ALL diff --git a/live-updates/opt/tuxflotte/kiosk/start-kiosk.sh b/live-updates/opt/tuxflotte/kiosk/start-kiosk.sh index a6e5b1b..3994783 100755 --- a/live-updates/opt/tuxflotte/kiosk/start-kiosk.sh +++ b/live-updates/opt/tuxflotte/kiosk/start-kiosk.sh @@ -29,7 +29,7 @@ dconf write /org/gnome/epiphany/ask-for-default false dconf write /org/nemo/desktop/show-desktop-icons false dconf write /org/cinnamon/enabled-applets "['panel1:left:0:window-list@cinnamon.org:1', 'panel1:right:0:power@cinnamon.org:2']" -mkdir -p /home/liveuser/.local/share/tuxflotte-kiosk +mkdir -p "${HOME}/.local/share/tuxflotte-kiosk" # Auto-Modus (personalisierte Kunden-ISO, siehe scripts/build_customer_iso.sh) # startet den Installer sofort unbeaufsichtigt statt der Kiosk-Startseite - @@ -39,4 +39,4 @@ if grep -qE '^\s*(export\s+)?TUXFLOTTE_AUTO_MODE=true\s*$' /opt/tuxflotte/config exec sudo /opt/tuxflotte/scripts/installer.sh fi -exec epiphany --profile=/home/liveuser/.local/share/tuxflotte-kiosk file:///opt/tuxflotte/kiosk/index.html +exec epiphany --profile="${HOME}/.local/share/tuxflotte-kiosk" file:///opt/tuxflotte/kiosk/index.html