summarylogtreecommitdiffstats
path: root/openswap.conf
diff options
context:
space:
mode:
Diffstat (limited to 'openswap.conf')
-rw-r--r--openswap.conf6
1 files changed, 5 insertions, 1 deletions
diff --git a/openswap.conf b/openswap.conf
index e9a790a877e9..0b11f9e4edff 100644
--- a/openswap.conf
+++ b/openswap.conf
@@ -7,6 +7,10 @@ crypt_swap_name=cryptswap
keyfile_device=/dev/mapper/cryptroot
keyfile_filename=etc/keyfile-cryptswap
+## additional arguments are given to mount for keyfile_device
+## has to start with --options (if so desired)
+#keyfile_device_mount_options="--options=subvol=__active/__"
+
## additional arguments are given to cryptsetup
## --allow-discards options is desired in case swap is on SSD partition
-miscellaneous="--type luks"
+cryptsetup_options="--type luks"