]> gitweb.fluxo.info Git - hydra.git/commitdiff
Minor fix at provision
authorSilvio Rhatto <rhatto@riseup.net>
Mon, 8 Aug 2011 22:35:17 +0000 (19:35 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Mon, 8 Aug 2011 22:35:17 +0000 (19:35 -0300)
share/hydractl/provision

index 0d007d0a0fda20d6395ce0569538fb8130ddb07a..309e430d59c6013ce90edbfbc5335262f9bbaf7c 100755 (executable)
@@ -113,7 +113,6 @@ root            /dev/mapper/vg-root     none            luks,cipher=aes-cbc-essi
 cswap           $swap_device               /dev/random     swap,cipher=aes-cbc-essiv:sha256
 EOF
 else
-if [ "$encrypt" == "y" ]; then
   cat > /tmp/debootstrap/etc/crypttab <<-EOF
 # <target name> <source device>   <key file>  <options>
 cswap           $swap_device               /dev/random     swap,cipher=aes-cbc-essiv:sha256