Skip to content

Commit

Permalink
feat: add ISO wipe GRUB boot option
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
smira committed Jan 10, 2023
1 parent 29020cb commit b0775eb
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions cmd/installer/cmd/grub.iso.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

0 comments on commit b0775eb

Please sign in to comment.