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>
This commit is contained in:
11
files/reimage-check.service
Normal file
11
files/reimage-check.service
Normal file
@@ -0,0 +1,11 @@
|
||||
[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
|
||||
Reference in New Issue
Block a user