standalone wipe
This commit is contained in:
parent
cbabed2017
commit
02f2f5323c
1 changed files with 4 additions and 1 deletions
|
@ -252,12 +252,15 @@ function hetzner-rescue-wipe-8-8-0 {
|
|||
# open
|
||||
echo "${passphrase}" \
|
||||
| cryptsetup luksOpen '/dev/md/crypt' 'crypt'
|
||||
}
|
||||
|
||||
function hetzner-rescue-wipe-8-8-1 {
|
||||
# wipe crypt
|
||||
dd status='progress' \
|
||||
if='/dev/zero' of='/dev/mapper/crypt' bs='8G'
|
||||
}
|
||||
|
||||
function hetzner-rescue-wipe-8-8-1 {
|
||||
function hetzner-rescue-wipe-8-8-2 {
|
||||
local passphrase
|
||||
# close
|
||||
cryptsetup luksClose 'crypt'
|
||||
|
|
Loading…
Reference in a new issue