feat: add ISO wipe GRUB boot option

This simply uses existing `talos.experimental.wipe` kernel flag to wipe
the currently installed Talos.

This allows to use Talos ISO to reset the system disk and revert back to
maintenance mode.

Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
This commit is contained in:
Andrey Smirnov 2023-01-10 16:41:45 +04:00
parent 29020cb9c7
commit b0775ebf2c
No known key found for this signature in database
GPG Key ID: 7B26396447AB6DFD

View File

@ -12,3 +12,10 @@ menuentry "Talos ISO" {
linux /boot/vmlinuz {{ .Cmdline }}
initrd /boot/initramfs.xz
}
menuentry "Reset Talos installation" {
set gfxmode=auto
set gfxpayload=text
linux /boot/vmlinuz {{ .Cmdline }} talos.experimental.wipe=system
initrd /boot/initramfs.xz
}