Commit graph

7 commits

Author SHA1 Message Date
c6ba3d9212 Fix build-iso.sh: Modell aus Hostname ableiten statt aus late-commands
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-09 21:09:35 +01:00
c0e934f8e7 Fix autoinstall.yaml: user-data 1:1 kopieren statt sed-Transformation
Die sed-Transformation hat die YAML-Struktur zerstört — Heredoc-Zeilen
im late-commands Block ([Desktop Entry] etc.) landeten auf Spalte 0 und
brachen den YAML-Parser. user-data direkt als autoinstall.yaml verwenden,
#cloud-config ist ein YAML-Kommentar und autoinstall: als Top-Level-Key
wird von Subiquity 24.04 unterstützt.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-09 20:28:05 +01:00
8475f329d4 Fix Autoinstall: Subiquity-Weg statt nur cloud-init NoCloud
- autoinstall.yaml im ISO-Root (direkter Subiquity-Weg, Ubuntu 24.04+)
- Kernel-Parameter subiquity.autoinstallpath als Backup
- NoCloud ds=nocloud + cloud-config-url=/dev/null als Fallback

Ubuntu 24.04 Subiquity sucht in dieser Reihenfolge:
1. subiquity.autoinstallpath= (Kernel-Parameter)
2. Root des Installationssystems
3. cloud-config (cloud-init)
4. Root des Installationsmediums (autoinstall.yaml)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-09 20:06:03 +01:00
2cb784a51a Tastatur-Fix, Zsh-Tooling, cloud-init, Autoinstall-Fix
setup-base.sh:
- Tastatur: mac_nodeadkeys + iso_layout=0 (fixt ^/< Swap, @ auf Alt+L)
- Neue Pakete: libheif-examples, imagemagick, pipx, zoxide, micro
- cloud-init deaktivieren (blockiert Boot ohne Cloud-Provider)
- dpkg-reconfigure nach Keyboard-Änderung

setup-desktop.sh:
- Powerlevel10k + zsh-syntax-highlighting von GitHub klonen
- MesloLGS NF Fonts installieren
- PlatformIO via pipx
- .zshrc deployen (Linux-Version mit allen Aliases)
- .p10k.zsh aus dotfiles-rene deployen
- git-check-all.sh + git-update-all.sh verlinken
- XFCE Keyboard-Override deaktivieren (XkbDisable)
- XFCE Terminal auf MesloLGS NF setzen
- DPMS-Werte gestaffelt (5/6/7 Min statt alle 10)

build-iso.sh:
- cloud-config-url=/dev/null (Fix für Ubuntu 24.04 Autoinstall)

user-data:
- Keyboard-Variante mac_nodeadkeys

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-09 19:55:58 +01:00
ef7c660c82 WireGuard-Config ins ISO einbetten (wireguard/ Ordner, .gitignore)
- build-iso.sh erkennt Modell/Hostname aus user-data und sucht
  passende Config in wireguard/{hostname}.conf oder wireguard/m{model}.conf
- user-data: late-commands kopieren wg0.conf vom Installationsmedium
  nach /etc/wireguard/ und aktivieren wg-quick@wg0
- wireguard/ in .gitignore (keine Secrets im Repo)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-08 19:29:59 +01:00
9cf76959c8 Rewrite build-iso.sh: macOS-Support, Ubuntu 24.04.4, xorriso in-place
- Funktioniert auf macOS (brew) und Linux (apt)
- Ubuntu ISO URL aktualisiert auf 24.04.4
- xorriso modifiziert die Original-ISO direkt statt entpacken/neu bauen
  → Boot-Records (BIOS + EFI) bleiben korrekt erhalten
- Download-Validierung (prüft auf gültige ISO)
- user-data/meta-data per absolutem Pfad (SCRIPT_DIR)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-07 21:37:00 +01:00
2d932f9924 Initial commit: Linux-Setup für MacBook Pro 13" und 16"
Vollautomatisches Post-Install-Setup für Ubuntu 24.04 auf MacBook Pro
Late 2013 (13") und Mid 2014 (16" mit Nvidia Optimus). Enthält:

- setup.sh: Komplettes Post-Install-Skript (Pakete, Xubuntu, Brave,
  PrusaSlicer, oh-my-zsh, Claude Code, Dotfiles via Forgejo/Stow,
  mbpfan, thermald, TLP, WireGuard, Lokalisierung DE)
- build-iso.sh: Ubuntu Autoinstall ISO für Ventoy erstellen
- user-data/meta-data: cloud-init Autoinstall-Konfiguration
- mbpfan-13.conf / mbpfan-16.conf: Modellspezifische Lüftersteuerung
- hid_apple.conf / keyboard: Deutsche Mac-Tastaturbelegung + Fn-Tasten
- blacklist-nvidia.conf: Optionaler Nvidia/nouveau-Blacklist
- temp-watch.sh: CPU-Temperaturüberwachung mit Desktop-Notification

Infrastruktur-Abhängigkeiten:
- Dotfiles: git.motocamp.de/rene/dotfiles.git (via GNU Stow)
- DiskStation 10.47.11.10 (SMTP, IMAP, Synology Drive)
- WireGuard-VPN 10.13.13.x ins Heimnetz 10.47.11.0/24

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-07 15:27:48 +01:00