shredos.ipxe.j2 1.1 KB

123456789101112131415161718192021222324252627282930313233343536
  1. #!ipxe
  2. goto ${menu} ||
  3. :shredos
  4. menu ShredOS {{ endpoints.shredos.version }}
  5. set kernel_url ${live_endpoint}{{ endpoints.shredos.path }}shredos
  6. item --gap THIS SOFTWARE DESTROYS DATA
  7. item --gap EVERY BOOT OPTION IS DESTRUCTIVE
  8. item --gap DO NOT PROCEED IF YOU DO NOT KNOW WHAT THIS IS
  9. item shredos_exit ${space} Go Back
  10. item shredos_options ${space} Proceed I know what I am doing
  11. choose menu || goto shredos_exit
  12. goto ${menu}
  13. :shredos_options
  14. clear menu
  15. menu ShredOS {{ endpoints.shredos.version }}
  16. item --gap Choose a wipe method:
  17. item dodshort ${space} Wipe all disks with the short DoD 5220.22-M method
  18. item dod522022m ${space} Wipe all disks with the DoD 5220.22-M method
  19. item dod3pass ${space} Wipe all disks with the DoD 5220.22-M method (3 pass)
  20. item ops2 ${space} Wipe all disks with the RCMP TSSIT OPS-II method
  21. item gutmann ${space} Wipe all disks with the Gutmann method
  22. item prng ${space} Wipe all disks with the PRNG Stream method
  23. choose nuke_method || goto shredos_exit
  24. goto shredos_boot
  25. :shredos_boot
  26. imgfree
  27. kernel ${kernel_url} console=tty3 loglevel=3 nwipe_options="--method=${nuke_method}" ${cmdline}
  28. boot
  29. :shredos_exit
  30. clear menu
  31. exit 0