Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extract disk wiping from disk partitioning #91

Merged
merged 1 commit into from
Sep 21, 2022

Conversation

moadqassem
Copy link
Member

@moadqassem moadqassem commented Sep 15, 2022

Description

Extracting the Wipe functionality and add it as a dedicated command, where user can only wipe disks without any partitioning, using the metadata of the Hardware.

Why is this needed

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

Fixes: #90

How Has This Been Tested?

It was tested by using this commit and build an image out of it, where this image has been use as a workflow to de provision a machine.

How are existing users impacted? What migration steps/scripts do we need?

NA

Checklist:

I have:

  • updated the documentation and/or roadmap (if required)
  • added unit or e2e tests
  • provided instructions on how to upgrade

Copy link
Contributor

@thebsdbox thebsdbox left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@moadqassem
Copy link
Member Author

@thebsdbox friendly reminder about merging this PR :)

@jacobweinstock jacobweinstock added the ready-to-merge Signal to Mergify to merge the PR. label Sep 21, 2022
@mergify mergify bot merged commit 8e1f99f into tinkerbell:main Sep 21, 2022
@moadqassem moadqassem deleted the support-disk-wipe-only branch September 21, 2022 15:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready-to-merge Signal to Mergify to merge the PR.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add disk wipe command
3 participants