CSCfi / ansible-role-pxe_bootstrap

Ansible role that install and configures TFTP. It also places iPXE/PXE boot conf files
MIT License
24 stars 4 forks source link

PXE boot option to wipe node disks #10

Open jabl opened 7 years ago

jabl commented 7 years ago

It would be nice to have an option to wipe the disks e.g. by PXE-booting DBAN (https://dban.org/ or https://github.com/NHellFire/dban for a maintained fork) as part of a decommissioning procedure. That way we wouldn't have to worry about giving away old compute nodes in case somebody wants them.

martbhell commented 5 years ago

https://github.com/NHellFire/dban looks like it's still maintained.

There's also "nwipe" (which is a maintaned fork of dwipe which DBAN used. A small linux distro that uses that is for example: https://github.com/nadenislamarre/shredos

I have not been able to figure out the correct syntaxes to boot an ISO or disk image with iPXE.

At least booting from an ISO seems to be not recommended by the Internet.

One option might be to boot from "real linux distro" and run nwipe inside it.