summarylogtreecommitdiffstats
path: root/openswap.conf
blob: 75382fc9f161edbf4d9f7ff3a5785ffa379c8752 (plain)
1
2
3
4
5
6
7
8
9
10
11
## cryptsetup open $swap_device $crypt_swap_name
swap_device=/dev/disk/by-uuid/2788eb78-074d-4424-9f1d-ebffc9c37262
crypt_swap_name=cryptswap

## one can optionally provide a keyfile device and path on this device
## to the keyfile
keyfile_device=/dev/mapper/cryptroot
keyfile_filename=etc/keyfile-cryptswap

## additional arguments are given to cryptsetup
miscellaneous="--type luks"