aboutsummaryrefslogtreecommitdiff
path: root/files/etc
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2012-04-14 21:02:29 -0300
committerSilvio Rhatto <rhatto@riseup.net>2012-04-14 21:02:29 -0300
commit328cad06f7f49d842b356a941f3c1d7c3eeb94cd (patch)
treea817a07a04abb489ce5316a196cd914dc91784ee /files/etc
parent927889a4d8e3c2a4f908fb4aa7ec746237b37f14 (diff)
downloadpuppet-nodo-328cad06f7f49d842b356a941f3c1d7c3eeb94cd.tar.gz
puppet-nodo-328cad06f7f49d842b356a941f3c1d7c3eeb94cd.tar.bz2
Adding kvm class
Diffstat (limited to 'files/etc')
-rw-r--r--files/etc/crypttab/kvm3
-rw-r--r--files/etc/fstab/kvm2
2 files changed, 5 insertions, 0 deletions
diff --git a/files/etc/crypttab/kvm b/files/etc/crypttab/kvm
new file mode 100644
index 0000000..20009d6
--- /dev/null
+++ b/files/etc/crypttab/kvm
@@ -0,0 +1,3 @@
+# <target name> <source device> <key file> <options>
+root /dev/mapper/vg-root none luks,cipher=aes-cbc-essiv:sha256
+vservers /dev/mapper/vg-vservers none luks,cipher=aes-cbc-essiv:sha256
diff --git a/files/etc/fstab/kvm b/files/etc/fstab/kvm
new file mode 100644
index 0000000..7cd585a
--- /dev/null
+++ b/files/etc/fstab/kvm
@@ -0,0 +1,2 @@
+/dev/mapper/root / ext4 defaults,errors=remount-ro 0 1
+/dev/mapper/vservers /var/vservers ext4 defaults,errors=remount-ro 0 2