luks_format
This commit is contained in:
parent
04f64f68a8
commit
c641c95c0d
3 changed files with 5 additions and 5 deletions
|
@ -36,7 +36,7 @@ rescue_wipe_0_init_ovh_vle2() {
|
|||
# crypt / wipe
|
||||
fs_wipe "${device}1" "1G" 1
|
||||
# crypt / encrypt
|
||||
luks_format "${passphrase}" "${device}1"
|
||||
sh_fs_luks_format "${passphrase}" "${device}1"
|
||||
# crypt / open
|
||||
echo "${passphrase}" |
|
||||
cryptsetup luksOpen "${device}1" "crypt"
|
||||
|
@ -52,7 +52,7 @@ rescue_wipe_2_make_ovh_vle2() {
|
|||
# read passphrase
|
||||
passphrase="$(read_passphrase)"
|
||||
# crypt / encrypt
|
||||
luks_format "${passphrase}" "${device}1"
|
||||
sh_fs_luks_format "${passphrase}" "${device}1"
|
||||
# crypt / open
|
||||
echo "${passphrase}" |
|
||||
cryptsetup luksOpen "${device}1" "crypt"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue