Files
schul-laptops/files/reimage-check.service
Herb 72d0b11647 Jahres-Reimage: Boot-Check, GRUB-Eintrag, Clonezilla-Batch-Skript
reimage-check erkennt die Platte DEZNTRSICHERUNG mit neuerem Image und
bootet in den GRUB-Eintrag Schul-Neuinstallation (Clonezilla toram).
schul-reimage.sh: Mini-Menue (AUFSPIELEN auto nach 20 s / IMAGE ERSTELLEN /
Abbrechen), ocs-sr im Batch-Modus ohne Nachpruefung (E-004), Hostname
bleibt erhalten, Admin-Key nur auf laptop03 (E-005). local.yml haelt
alles per Pull aktuell.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-13 13:21:32 +02:00

12 lines
270 B
Desktop File

[Unit]
Description=Schul-Laptops: Pruefen ob ein neues Image aufgespielt werden soll
[Service]
Type=oneshot
# USB-Platte braucht einen Moment, bis sie erkannt ist
ExecStartPre=/bin/sleep 5
ExecStart=/usr/local/bin/reimage-check.sh
[Install]
WantedBy=multi-user.target