tinkerbell / actions

Suite of Tinkerbell Actions for use in Tinkerbell Workflows
Apache License 2.0
27 stars 42 forks source link

Add disk wipe command #90

Closed moadqassem closed 1 year ago

moadqassem commented 2 years ago

Expected Behaviour

At the moment, there are no command, dedicated only for wiping disks without partitioning it all over again. It would be really helpful to have a dedicated command, where user can only wipe disks without any partitioning, using the metadata of the Hardware.

Current Behaviour

Not possible to run disk wiping without partitioning the disks again.

Possible Solution

Extracting the Wipe functionality from the disk partition and use a dedicated command. Here is PR:

Steps to Reproduce (for bugs)

1. 2. 3. 4.

Context

This is very helpful, when the provisioned machine, are gonna be used by some storage specific services or SDS operator, as some of those operator don't use disks that are in a specific status(for example if the disks have partitions, the storage operator would considered this disk being in used by some other software and wouldn't use and utilize it).

Your Environment