passphrase
This commit is contained in:
parent
f4cda4c096
commit
8fbfabb388
1 changed files with 5 additions and 5 deletions
|
@ -138,10 +138,14 @@ function hetzner-rescue-wipe-12-10-10 {
|
||||||
)
|
)
|
||||||
local members
|
local members
|
||||||
local number
|
local number
|
||||||
|
local passphrase
|
||||||
local unit='mib'
|
local unit='mib'
|
||||||
|
# read passphrase
|
||||||
|
echo -n 'PassPhrase: '
|
||||||
|
read -r -s passphrase
|
||||||
#
|
#
|
||||||
lsblk
|
lsblk
|
||||||
echo -n 'WIPE' "${device}" '/?\ OR CANCEL /!\'
|
echo -n 'WIPE' "${devices[@]}" '/?\ OR CANCEL /!\'
|
||||||
read
|
read
|
||||||
#
|
#
|
||||||
number=0
|
number=0
|
||||||
|
@ -228,10 +232,6 @@ function hetzner-rescue-wipe-12-10-10 {
|
||||||
}
|
}
|
||||||
|
|
||||||
function hetzner-rescue-wipe-12-10-10-extra {
|
function hetzner-rescue-wipe-12-10-10-extra {
|
||||||
# read passphrase
|
|
||||||
local passphrase
|
|
||||||
echo -n 'PassPhrase: '
|
|
||||||
read -r -s passphrase
|
|
||||||
# encrypt
|
# encrypt
|
||||||
echo "${passphrase}" \
|
echo "${passphrase}" \
|
||||||
| cryptsetup \
|
| cryptsetup \
|
||||||
|
|
Loading…
Reference in a new issue