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' \
|
-L 'boot' \
|
||||||
-U '6234a0eb-29a3-a847-1dbd-5ec4bada5579' \
|
-U '6234a0eb-29a3-a847-1dbd-5ec4bada5579' \
|
||||||
'/dev/md/boot'
|
'/dev/md/boot'
|
||||||
}
|
|
||||||
|
|
||||||
function hetzner-rescue-wipe-12-10-10-extra {
|
|
||||||
# encrypt
|
# encrypt
|
||||||
echo "${passphrase}" \
|
echo "${passphrase}" \
|
||||||
| cryptsetup \
|
| cryptsetup \
|
||||||
|
@ -245,7 +242,10 @@ function hetzner-rescue-wipe-12-10-10-extra {
|
||||||
--hash 'sha512' \
|
--hash 'sha512' \
|
||||||
--use-random \
|
--use-random \
|
||||||
luksFormat \
|
luksFormat \
|
||||||
'/dev/sda1'
|
'/dev/md/crypt'
|
||||||
|
}
|
||||||
|
|
||||||
|
function hetzner-rescue-wipe-12-10-10-extra {
|
||||||
# open
|
# open
|
||||||
echo "${passphrase}" \
|
echo "${passphrase}" \
|
||||||
| cryptsetup luksOpen '/dev/sda1' 'crypt'
|
| cryptsetup luksOpen '/dev/sda1' 'crypt'
|
||||||
|
|
Loading…
Reference in a new issue