fixes
This commit is contained in:
parent
c2d83e717f
commit
dbf1295148
2 changed files with 3 additions and 2 deletions
|
@ -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"
|
||||||
|
|
|
@ -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() {
|
||||||
|
|
Loading…
Reference in a new issue