read secret
This commit is contained in:
parent
9166e6ff45
commit
b7b590a97c
1 changed files with 1 additions and 1 deletions
|
@ -119,7 +119,7 @@ function ovh-rescue-wipe-1-2TB {
|
|||
mkfs.ext4 -L 'boot' '/dev/sda2'
|
||||
# read passphrase
|
||||
local passphrase
|
||||
read passphrase
|
||||
read -s passphrase
|
||||
# encrypt
|
||||
echo "${passphrase}" \
|
||||
| cryptsetup \
|
||||
|
|
Loading…
Reference in a new issue