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>
10 lines
733 B
INI
10 lines
733 B
INI
# Wird von GRUB (41_custom) zur Boot-Zeit gelesen — kein update-grub noetig.
|
|
# Ziel von "grub-reboot Schul-Neuinstallation" (reimage-check.service).
|
|
# Bootet Clonezilla-Live aus /boot/clonezilla komplett ins RAM (toram),
|
|
# damit die eigene Platte ueberschrieben werden kann.
|
|
menuentry "Schul-Neuinstallation" {
|
|
search --no-floppy --file --set=root /boot/clonezilla/vmlinuz
|
|
linux /boot/clonezilla/vmlinuz boot=live union=overlay username=user config components noswap edd=on noprompt nosplash live-media-path=/boot/clonezilla toram=filesystem.squashfs locales=de_DE.UTF-8 keyboard-layouts=de ocs_live_batch="yes" ocs_live_run="bash /run/live/medium/boot/clonezilla/schul-reimage.sh"
|
|
initrd /boot/clonezilla/initrd.img
|
|
}
|