summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-02-01 18:22:38 -0200
committerSilvio Rhatto <rhatto@riseup.net>2013-02-01 18:22:38 -0200
commitbbf1237da5f0b02c98fb466441a82f249f1e19c7 (patch)
tree0fad2dca544cd2b4017f427705b6a496dff002a6
parent599abb2fd71aa254ae5975f16a0ab0aab9f025e9 (diff)
downloadhydra-bbf1237da5f0b02c98fb466441a82f249f1e19c7.tar.gz
hydra-bbf1237da5f0b02c98fb466441a82f249f1e19c7.tar.bz2
Provision: fixing crypttab entries
-rwxr-xr-xshare/hydractl/provision4
1 files changed, 2 insertions, 2 deletions
diff --git a/share/hydractl/provision b/share/hydractl/provision
index 4a270ed..4c1822e 100755
--- a/share/hydractl/provision
+++ b/share/hydractl/provision
@@ -274,7 +274,7 @@ echo "# <target name> <source device> <key file> <options>" > /tmp/debootstra
if [ "$encrypt" == "y" ]; then
cat > /tmp/debootstrap/etc/crypttab <<-EOF
-root /dev/mapper/vg-root none luks,cipher=aes-cbc-essiv:sha256
+root /dev/mapper/vg-root none luks,cipher=aes-cbc-essiv:sha256
EOF
fi
@@ -292,7 +292,7 @@ fi
if [ "$swap" != "0" ]; then
cat >> /tmp/debootstrap/etc/crypttab <<-EOF
-cswap $swap_device /dev/random swap,cipher=aes-cbc-essiv:sha256
+cswap $swap_device /dev/random swap,cipher=aes-cbc-essiv:sha256
EOF
fi