zero
This commit is contained in:
parent
6b81ee0a5a
commit
c4fcfbdca2
3 changed files with 5 additions and 11 deletions
|
@ -151,12 +151,6 @@ rescue_hetzner_wipe_8_8_0_init() {
|
|||
cryptsetup luksOpen '/dev/md/crypt' 'crypt'
|
||||
}
|
||||
|
||||
rescue_hetzner_wipe_8_8_1_zero() {
|
||||
# wipe crypt
|
||||
dd status='progress' \
|
||||
if='/dev/zero' of='/dev/mapper/crypt' bs='8G'
|
||||
}
|
||||
|
||||
rescue_hetzner_wipe_8_8_2_make() {
|
||||
local passphrase
|
||||
# close
|
||||
|
|
|
@ -80,11 +80,6 @@ rescue_ovh_wipe_vle2_0_init() {
|
|||
cryptsetup luksOpen "${device}1" "crypt"
|
||||
}
|
||||
|
||||
rescue_ovh_wipe_vle2_1_zero() {
|
||||
# crypt / zero
|
||||
dd status="progress" if="/dev/zero" of="/dev/mapper/crypt" bs="1G"
|
||||
}
|
||||
|
||||
rescue_ovh_wipe_vle2_2_make() {
|
||||
local passphrase
|
||||
# crypt / close
|
||||
|
|
|
@ -138,6 +138,11 @@ source \"/etc/bash/main.sh\" ; rescue_configure \"${hostname}\""
|
|||
fi
|
||||
}
|
||||
|
||||
rescue_wipe_1_zero() {
|
||||
dd status="progress" \
|
||||
if="/dev/zero" of="/dev/mapper/crypt" bs="1G"
|
||||
}
|
||||
|
||||
rescue_wipe_3_close() {
|
||||
umount "/media/boot"
|
||||
umount "/media/crypt" &&
|
||||
|
|
Loading…
Reference in a new issue