Skip to content

Commit

Permalink
fix: fast-wipe the system disk on talosctl reset
Browse files Browse the repository at this point in the history
Fixes #7558

I see no reason to keep old behavior (removing all partitions on the
disk), as it's only compatible with Talos itself.

Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
  • Loading branch information
smira committed Aug 3, 2023
1 parent 76fa45a commit 793dced
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1520,7 +1520,7 @@ func ResetSystemDisk(runtime.Sequence, any) (runtime.TaskExecutionFunc, string)

defer dev.Close() //nolint:errcheck

return dev.Reset()
return dev.FastWipe()
}, "resetSystemDisk"
}

Expand Down

0 comments on commit 793dced

Please sign in to comment.