warn_wipe
This commit is contained in:
parent
96f0697e37
commit
4cf5783562
3 changed files with 3 additions and 3 deletions
|
@ -9,7 +9,7 @@ rescue_wipe_0_init_hetzner_8_8() {
|
|||
# read passphrase
|
||||
passphrase="$(read_passphrase)"
|
||||
# warn
|
||||
warn_wipe "${@}"
|
||||
sh_warn_wipe "${@}"
|
||||
#
|
||||
number=0
|
||||
for device in "${@}"; do
|
||||
|
|
|
@ -4,7 +4,7 @@ rescue_wipe_0_init_ovh_vle2() {
|
|||
# read passphrase
|
||||
passphrase="$(read_passphrase)"
|
||||
# warn
|
||||
warn_wipe "${device}"
|
||||
sh_warn_wipe "${device}"
|
||||
#
|
||||
parted --script "${device}" \
|
||||
mktable gpt \
|
||||
|
|
|
@ -28,7 +28,7 @@ read_secret() {
|
|||
unset secret
|
||||
}
|
||||
|
||||
warn_wipe() {
|
||||
sh_warn_wipe() {
|
||||
local tmp
|
||||
list_block_devices
|
||||
printf "%s" "WIPE ${*} /?\\ OR CANCEL /!\\"
|
||||
|
|
Loading…
Reference in a new issue