read_passphrase
This commit is contained in:
parent
6b45b885c7
commit
510ca5a5b3
3 changed files with 5 additions and 5 deletions
|
@ -7,7 +7,7 @@ rescue_wipe_0_init_hetzner_8_8() {
|
|||
local number
|
||||
local passphrase
|
||||
# read passphrase
|
||||
passphrase="$(read_passphrase)"
|
||||
passphrase="$(sh_read_passphrase)"
|
||||
# warn
|
||||
sh_warn_wipe "${@}"
|
||||
#
|
||||
|
@ -105,7 +105,7 @@ rescue_wipe_2_make_hetzner_8_8() {
|
|||
# close
|
||||
cryptsetup luksClose "crypt"
|
||||
# read passphrase
|
||||
passphrase="$(read_passphrase)"
|
||||
passphrase="$(sh_read_passphrase)"
|
||||
# encrypt
|
||||
sh_fs_luks_format "${passphrase}" "/dev/md/crypt"
|
||||
# open
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue