aboutsummaryrefslogtreecommitdiff
path: root/files
diff options
context:
space:
mode:
Diffstat (limited to 'files')
-rw-r--r--files/etc/crypttab/laptop5
-rw-r--r--files/etc/fstab/laptop5
2 files changed, 10 insertions, 0 deletions
diff --git a/files/etc/crypttab/laptop b/files/etc/crypttab/laptop
new file mode 100644
index 0000000..ec3b60d
--- /dev/null
+++ b/files/etc/crypttab/laptop
@@ -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/laptop b/files/etc/fstab/laptop
new file mode 100644
index 0000000..0acbbac
--- /dev/null
+++ b/files/etc/fstab/laptop
@@ -0,0 +1,5 @@
+/dev/mapper/cswap none swap sw 0 0
+/dev/mapper/root / ext3 defaults,errors=remount-ro 0 1
+/dev/mapper/home /home ext3 defaults,errors=remount-ro 0 2
+/dev/mapper/var /var ext3 defaults,errors=remount-ro 0 2
+/dev/sda2 /boot ext3 defaults,errors=remount-ro 0 2