This commit is contained in:
Marc Beninca 2024-11-11 22:16:37 +01:00
parent c2d83e717f
commit dbf1295148
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F
2 changed files with 3 additions and 2 deletions

View file

@ -16,7 +16,7 @@ rescue_wipe_0_init_ovh_vle2() {
# #
parted "${device}" \ parted "${device}" \
unit "${unit}" \ unit "${unit}" \
mkpart "crypt" 4610 40960 mkpart "crypt" 4610 40959
# #
parted "${device}" \ parted "${device}" \
unit "${unit}" \ unit "${unit}" \
@ -81,6 +81,7 @@ rescue_wipe_0_init_ovh_vle2() {
} }
rescue_wipe_2_make_ovh_vle2() { rescue_wipe_2_make_ovh_vle2() {
local device="/dev/sdb"
local passphrase local passphrase
# crypt / close # crypt / close
cryptsetup luksClose "crypt" cryptsetup luksClose "crypt"

View file

@ -140,7 +140,7 @@ source \"/etc/bash/main.sh\" ; rescue_configure \"${hostname}\""
rescue_wipe_1_zero() { rescue_wipe_1_zero() {
dd status="progress" \ dd status="progress" \
if="/dev/zero" of="/dev/mapper/crypt" bs="1G" if="/dev/zero" of="/dev/mapper/crypt" bs="512M"
} }
rescue_wipe_3_close() { rescue_wipe_3_close() {