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
|
# open
|
||||||
echo "${passphrase}" \
|
echo "${passphrase}" \
|
||||||
| cryptsetup luksOpen '/dev/md/crypt' 'crypt'
|
| cryptsetup luksOpen '/dev/md/crypt' 'crypt'
|
||||||
|
}
|
||||||
|
|
||||||
|
function hetzner-rescue-wipe-8-8-1 {
|
||||||
# wipe crypt
|
# wipe crypt
|
||||||
dd status='progress' \
|
dd status='progress' \
|
||||||
if='/dev/zero' of='/dev/mapper/crypt' bs='8G'
|
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
|
local passphrase
|
||||||
# close
|
# close
|
||||||
cryptsetup luksClose 'crypt'
|
cryptsetup luksClose 'crypt'
|
||||||
|
|
Loading…
Reference in a new issue