cryptsetup
This commit is contained in:
parent
8fbfabb388
commit
eeda17878a
1 changed files with 4 additions and 4 deletions
|
@ -229,9 +229,6 @@ function hetzner-rescue-wipe-12-10-10 {
|
|||
-L 'boot' \
|
||||
-U '6234a0eb-29a3-a847-1dbd-5ec4bada5579' \
|
||||
'/dev/md/boot'
|
||||
}
|
||||
|
||||
function hetzner-rescue-wipe-12-10-10-extra {
|
||||
# encrypt
|
||||
echo "${passphrase}" \
|
||||
| cryptsetup \
|
||||
|
@ -245,7 +242,10 @@ function hetzner-rescue-wipe-12-10-10-extra {
|
|||
--hash 'sha512' \
|
||||
--use-random \
|
||||
luksFormat \
|
||||
'/dev/sda1'
|
||||
'/dev/md/crypt'
|
||||
}
|
||||
|
||||
function hetzner-rescue-wipe-12-10-10-extra {
|
||||
# open
|
||||
echo "${passphrase}" \
|
||||
| cryptsetup luksOpen '/dev/sda1' 'crypt'
|
||||
|
|
Loading…
Reference in a new issue