summarylogtreecommitdiffstats
path: root/openswap.conf
diff options
context:
space:
mode:
Diffstat (limited to 'openswap.conf')
-rw-r--r--openswap.conf11
1 files changed, 11 insertions, 0 deletions
diff --git a/openswap.conf b/openswap.conf
new file mode 100644
index 000000000000..75382fc9f161
--- /dev/null
+++ b/openswap.conf
@@ -0,0 +1,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" \ No newline at end of file