aboutsummaryrefslogtreecommitdiff
path: root/files/etc
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2010-04-03 00:15:27 -0300
committerSilvio Rhatto <rhatto@riseup.net>2010-04-03 00:15:27 -0300
commit86443abe71d218b125dc8f3ad887b71c83c94798 (patch)
tree0b7abddaac201799827a1154e9cf062d0b446af5 /files/etc
parent26631255143bbbf90b57c4f9cd033a1209413f23 (diff)
downloadpuppet-nodo-86443abe71d218b125dc8f3ad887b71c83c94798.tar.gz
puppet-nodo-86443abe71d218b125dc8f3ad887b71c83c94798.tar.bz2
Adding nodo::removable
Diffstat (limited to 'files/etc')
-rw-r--r--files/etc/crypttab/removable5
-rw-r--r--files/etc/fstab/removable4
2 files changed, 9 insertions, 0 deletions
diff --git a/files/etc/crypttab/removable b/files/etc/crypttab/removable
new file mode 100644
index 0000000..aff01c6
--- /dev/null
+++ b/files/etc/crypttab/removable
@@ -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 /dev/random swap,cipher=aes-cbc-essiv:sha256
diff --git a/files/etc/fstab/removable b/files/etc/fstab/removable
new file mode 100644
index 0000000..831369e
--- /dev/null
+++ b/files/etc/fstab/removable
@@ -0,0 +1,4 @@
+/dev/mapper/root / ext3 noatime,defaults,errors=remount-ro 0 1
+#/dev/mapper/home /home ext3 noatime,defaults,errors=remount-ro 0 2
+#/dev/mapper/var /var ext3 noatime,defaults,errors=remount-ro 0 2
+#/dev/mapper/cswap none swap sw 0 0