close
This commit is contained in:
parent
f796532025
commit
abc7186d57
1 changed files with 2 additions and 2 deletions
|
@ -262,12 +262,12 @@ function hetzner-rescue-wipe-12-10-10-0 {
|
||||||
# wipe crypt
|
# wipe crypt
|
||||||
dd status='progress' \
|
dd status='progress' \
|
||||||
if='/dev/zero' of='/dev/mapper/crypt' bs='16G'
|
if='/dev/zero' of='/dev/mapper/crypt' bs='16G'
|
||||||
# close
|
|
||||||
cryptsetup luksClose 'crypt'
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function hetzner-rescue-wipe-12-10-10-1 {
|
function hetzner-rescue-wipe-12-10-10-1 {
|
||||||
local passphrase
|
local passphrase
|
||||||
|
# close
|
||||||
|
cryptsetup luksClose 'crypt'
|
||||||
# read passphrase
|
# read passphrase
|
||||||
echo -n 'PassPhrase: '
|
echo -n 'PassPhrase: '
|
||||||
read -r -s passphrase
|
read -r -s passphrase
|
||||||
|
|
Loading…
Reference in a new issue