functions
This commit is contained in:
parent
c31db13ebf
commit
5a76c09cb1
1 changed files with 3 additions and 3 deletions
|
@ -130,7 +130,7 @@ else
|
|||
fi
|
||||
}
|
||||
|
||||
function hetzner-rescue-wipe-8-8-0 {
|
||||
function hetzner-rescue-wipe-8-8-0-init {
|
||||
local device
|
||||
local devices=(
|
||||
'/dev/sda'
|
||||
|
@ -259,13 +259,13 @@ function hetzner-rescue-wipe-8-8-0 {
|
|||
| cryptsetup luksOpen '/dev/md/crypt' 'crypt'
|
||||
}
|
||||
|
||||
function hetzner-rescue-wipe-8-8-1 {
|
||||
function hetzner-rescue-wipe-8-8-1-zero {
|
||||
# wipe crypt
|
||||
dd status='progress' \
|
||||
if='/dev/zero' of='/dev/mapper/crypt' bs='8G'
|
||||
}
|
||||
|
||||
function hetzner-rescue-wipe-8-8-2 {
|
||||
function hetzner-rescue-wipe-8-8-2-make {
|
||||
local passphrase
|
||||
# close
|
||||
cryptsetup luksClose 'crypt'
|
||||
|
|
Loading…
Reference in a new issue