Hi everyone,
I needed to figure out a way to put DBAN wipe functionality in the FOG PXE menu to boot and auto-wipe systems. I found out a basic way to do this and so I am adding this info here for anyone else who needs to do it. I am using Ubuntu 14.04 LTS.
[LIST=1]
[]Create a new folder in /var/www/fog/ called dban
[]Give the www-data user and group ownership of this folder (this may not be needed)
[CODE]chown www-data /var/www/fog/dban
chgroup www-data /var/www/fog/dban[/CODE]
[]Download the DBAN iso file and extract it to /var/www/fog
[]Give the www-data user and group ownership of the files you just put in this folder (this may not be needed)
[CODE]chown www-data /var/www/fog/dban/*
chgroup www-data /var/www/fog/dban/[/CODE]
[]Go to the FOG web interface to Fog Configuration -> PXE Boot Menu
[*]Open the Advanced Configuration Options box and paste in the following menu code
[CODE]:MENU
menu Please choose an option
item dban Boot DBAN Autonuke - WILL TOTALLY WIPE PC!
choose item
:dban
kernel ${boot_url}/fog/dban/dban.bzi nuke=“dwipe --autonuke” silent vga=785
boot[/CODE]
[]Save the changes you made and test on a PC - [COLOR=#ff0000][B]!BEWARE! -> It will automatically begin wiping the PC[/B][/COLOR].
[]If you need to password protect this option you can set the Advanced Menu Login on the PXE Boot Menu options page.
[/LIST]
This Autonuke command will run 1 DOD-Short pass. If you want more complex wipe options executed automatically check out the following list for specific commands you can sub in. If you want it to ask you for manual options each time just change the option to [B]nuke=“dwipe” silent vga=785[/B]
[CODE]LABEL autonuke
KERNEL dban.bzi
APPEND nuke=“dwipe --autonuke” silent nousb vga=785
LABEL dban
KERNEL dban.bzi
APPEND nuke=“dwipe” silent vga=785
LABEL dod
KERNEL dban.bzi
APPEND nuke=“dwipe --autonuke --method dod522022m” silent vga=785
LABEL dod3pass
KERNEL dban.bzi
APPEND nuke=“dwipe --autonuke --method dod3pass” silent vga=785
LABEL dodshort
KERNEL dban.bzi
APPEND nuke=“dwipe --autonuke --method dodshort” silent vga=785
LABEL gutmann
KERNEL dban.bzi
APPEND nuke=“dwipe --autonuke --method gutmann” silent vga=785
LABEL ops2
KERNEL dban.bzi
APPEND nuke=“dwipe --autonuke --method ops2” silent vga=785
LABEL paranoid
KERNEL dban.bzi
APPEND nuke=“dwipe --autonuke --method prng --rounds 8 --verify all” silent vga=785
LABEL prng
KERNEL dban.bzi
APPEND nuke=“dwipe --autonuke --method prng --rounds 8” silent vga=785
LABEL quick
KERNEL dban.bzi
APPEND nuke=“dwipe --autonuke --method quick” silent vga=785
LABEL zero
KERNEL dban.bzi
APPEND nuke=“dwipe --autonuke --method zero” silent vga=785[/CODE]
[INDENT=1] [/INDENT]
I hope this helps somebody!
CHELIT