functions
This commit is contained in:
parent
c4fcfbdca2
commit
9f550c4412
2 changed files with 4 additions and 4 deletions
|
@ -1,4 +1,4 @@
|
||||||
rescue_hetzner_wipe_8_8_0_init() {
|
rescue_wipe_0_init_hetzner_8_8() {
|
||||||
local device
|
local device
|
||||||
local devices=(
|
local devices=(
|
||||||
'/dev/sda'
|
'/dev/sda'
|
||||||
|
@ -151,7 +151,7 @@ rescue_hetzner_wipe_8_8_0_init() {
|
||||||
cryptsetup luksOpen '/dev/md/crypt' 'crypt'
|
cryptsetup luksOpen '/dev/md/crypt' 'crypt'
|
||||||
}
|
}
|
||||||
|
|
||||||
rescue_hetzner_wipe_8_8_2_make() {
|
rescue_wipe_2_make_hetzner_8_8() {
|
||||||
local passphrase
|
local passphrase
|
||||||
# close
|
# close
|
||||||
cryptsetup luksClose 'crypt'
|
cryptsetup luksClose 'crypt'
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
rescue_ovh_wipe_vle2_0_init() {
|
rescue_wipe_0_init_ovh_vle2() {
|
||||||
local device="/dev/sdb"
|
local device="/dev/sdb"
|
||||||
local passphrase
|
local passphrase
|
||||||
local unit="mib"
|
local unit="mib"
|
||||||
|
@ -80,7 +80,7 @@ rescue_ovh_wipe_vle2_0_init() {
|
||||||
cryptsetup luksOpen "${device}1" "crypt"
|
cryptsetup luksOpen "${device}1" "crypt"
|
||||||
}
|
}
|
||||||
|
|
||||||
rescue_ovh_wipe_vle2_2_make() {
|
rescue_wipe_2_make_ovh_vle2() {
|
||||||
local passphrase
|
local passphrase
|
||||||
# crypt / close
|
# crypt / close
|
||||||
cryptsetup luksClose "crypt"
|
cryptsetup luksClose "crypt"
|
||||||
|
|
Loading…
Reference in a new issue