swap
This commit is contained in:
parent
f571ad3307
commit
5ab4a0054a
1 changed files with 5 additions and 5 deletions
|
@ -284,16 +284,16 @@ function hetzner-rescue-wipe-8-8-2 {
|
|||
# open
|
||||
echo "${passphrase}" \
|
||||
| cryptsetup luksOpen '/dev/md/crypt' 'crypt'
|
||||
# format swap
|
||||
mkswap \
|
||||
--label 'swap' \
|
||||
-U '06234a0e-b29a-3a84-71db-d5ec4bada557' \
|
||||
'/dev/mapper/crypt-swap'
|
||||
# format data
|
||||
mkfs.ext4 \
|
||||
-L 'data' \
|
||||
-U '006234a0-eb29-a3a8-471d-bd5ec4bada55' \
|
||||
'/dev/mapper/crypt-data'
|
||||
# format swap
|
||||
mkswap \
|
||||
--label 'swap' \
|
||||
-U '06234a0e-b29a-3a84-71db-d5ec4bada557' \
|
||||
'/dev/mapper/crypt-swap'
|
||||
# close
|
||||
cryptsetup luksClose 'crypt'
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue