read secret

This commit is contained in:
Marc Beninca 2023-05-13 03:21:41 +02:00
parent 9166e6ff45
commit b7b590a97c

View file

@ -119,7 +119,7 @@ function ovh-rescue-wipe-1-2TB {
mkfs.ext4 -L 'boot' '/dev/sda2' mkfs.ext4 -L 'boot' '/dev/sda2'
# read passphrase # read passphrase
local passphrase local passphrase
read passphrase read -s passphrase
# encrypt # encrypt
echo "${passphrase}" \ echo "${passphrase}" \
| cryptsetup \ | cryptsetup \