1
0
Antony Messerli 4 жил өмнө
parent
commit
4ad234f62a

+ 2 - 0
CHANGELOG.md

@@ -5,6 +5,8 @@ All notable changes to this project will be documented in this file.
 ## [Unreleased]
 
 ## [2.0.36]
+### Added
+- Support for ShredOS
 
 ## [2.0.35]
 ### Added

+ 1 - 0
README.md

@@ -174,6 +174,7 @@ In addition to being able to host netboot.xyz locally, you can also create your
 | Kaspersky Rescue Disk | https://support.kaspersky.com/viruses/krd18 | LiveCD |
 | Memtest | http://www.memtest.org/ | Kernel |
 | Rescatux | https://www.supergrubdisk.org/rescatux/ | LiveCD |
+| ShredOS | https://github.com/PartialVolume/shredos.x86_64 | Kernel | 
 | Super Grub2 Disk | http://www.supergrubdisk.org | ISO - Memdisk |
 | System Rescue | https://system-rescue.org/ | LiveCD |
 | The Smallest Server Suite | https://thesss.4mlinux.com/ | Kernel/Initrd |

+ 8 - 0
roles/netbootxyz/defaults/main.yml

@@ -612,6 +612,10 @@ utilitiesefi:
       initrd=initrd
     name: Rescatux
     type: direct
+  shredos:
+    enabled: true
+    name: ShredOS
+    type: ipxemenu
   systemrescue:
     enabled: true
     name: System Rescue CD
@@ -684,6 +688,10 @@ utilitiespcbios:
       initrd=initrd
     name: Rescatux
     type: direct
+  shredos:
+    enabled: true
+    name: ShredOS
+    type: ipxemenu
   supergrub:
     enabled: true
     name: SuperGRUB

+ 36 - 0
roles/netbootxyz/templates/menu/shredos.ipxe.j2

@@ -0,0 +1,36 @@
+#!ipxe
+
+goto ${menu} ||
+
+:shredos
+menu ShredOS {{ endpoints.shredos.version }} 
+set kernel_url ${live_endpoint}{{ endpoints.shredos.path }}shredos
+item --gap THIS SOFTWARE DESTROYS DATA
+item --gap EVERY BOOT OPTION IS DESTRUCTIVE
+item --gap DO NOT PROCEED IF YOU DO NOT KNOW WHAT THIS IS
+item dban_exit ${space} Go Back
+item dban_options ${space} Proceed I know what I am doing
+choose menu || goto shredos_exit
+goto ${menu}
+
+:shredos_options
+clear menu
+menu ShredOS {{ endpoints.shredos.version }}
+item --gap Choose a wipe method:
+item dodshort ${space} Wipe all disks with the short DoD 5220.22-M method
+item dod522022m ${space} Wipe all disks with the DoD 5220.22-M method
+item dod3pass ${space} Wipe all disks with the DoD 5220.22-M method (3 pass)
+item ops2 ${space} Wipe all disks with the RCMP TSSIT OPS-II method
+item gutmann ${space} Wipe all disks with the Gutmann method
+item prng ${space} Wipe all disks with the PRNG Stream method
+choose nuke_method || goto shredos_exit
+goto shredos_boot
+
+:shredos_boot
+imgfree
+kernel ${kernel_url} console=tty3 loglevel=3 nwipe_options="--method=${nuke_method}" ${cmdline}
+boot
+
+:shredos_exit
+clear menu
+exit 0