Skip to content
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DANGER: Wiper ISO

The purpose of this ISO is to ensure existing disk partitions and filesystems are removed to ensure that a new OpenShift/ODF installation won't find any trace of old installs. Only strictly necessary to use this on recycled hardware or when installing over an existing cluster (eg for testing).

Using a bootable ISO to do this automatically is dangerous, but avoids the need to put IP addresses on machines simply to wipe the disks etc.

Warning Obviously, this script and the resulting ISO will cause data loss. Do not boot this or run this on any server you don't intend to wipe. Does NOT do secure erasure of data.

Note If you ever change the contents of danger_wiper.ign based on danger-wiper.sh then edit line 1 in the script to read #!/bin/bash instead of #!/bin/donnotrun. The create-iso.sh script does this for you.

How to build the ISO

./create-iso.sh

Then boot systems that you want to wipe drives - maybe via something like Ansible to boot server via Redfish.

About

DANGEROUS ISO file that immediately wipes all disks on a server when it boots. No comfirmation. Does NOT do secure deletion. This is intended for automated situations where a new deploy needs clean disks.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages