aboutsummaryrefslogtreecommitdiff
path: root/files
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2011-09-22 10:39:11 -0300
committerSilvio Rhatto <rhatto@riseup.net>2011-09-22 10:39:11 -0300
commitf55276477c27770af28e53bb8d4c8f9447993f05 (patch)
tree234360d8e90cb990d515717df9c8a87f23eeeb52 /files
parentc9d08c50fc371c6f5576adfb0229015daf0e6fbe (diff)
downloadpuppet-nodo-f55276477c27770af28e53bb8d4c8f9447993f05.tar.gz
puppet-nodo-f55276477c27770af28e53bb8d4c8f9447993f05.tar.bz2
Adding hibernation support for laptops
Diffstat (limited to 'files')
-rw-r--r--files/etc/crypttab/laptop.hibernate5
1 files changed, 5 insertions, 0 deletions
diff --git a/files/etc/crypttab/laptop.hibernate b/files/etc/crypttab/laptop.hibernate
new file mode 100644
index 0000000..ab8a8e2
--- /dev/null
+++ b/files/etc/crypttab/laptop.hibernate
@@ -0,0 +1,5 @@
+# <target name> <source device> <key file> <options>
+root /dev/mapper/vg-root none luks,cipher=aes-cbc-essiv:sha256
+home /dev/mapper/vg-home none luks,cipher=aes-cbc-essiv:sha256
+var /dev/mapper/vg-var none luks,cipher=aes-cbc-essiv:sha256
+cswap /dev/sda1 none swap,cipher=aes-cbc-essiv:sha256