diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2014-08-16 16:46:50 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2014-08-16 16:46:50 -0300 |
commit | 7a8bb3e0e0965b8abb96520bd7195978d9b3832c (patch) | |
tree | c551bf422f98a544d1196b4243821fb24b986506 /share/hydractl | |
parent | 34b01b19b3ab88034ffaa5f550dfbc27d6aafdec (diff) | |
download | hydra-7a8bb3e0e0965b8abb96520bd7195978d9b3832c.tar.gz hydra-7a8bb3e0e0965b8abb96520bd7195978d9b3832c.tar.bz2 |
Fix swap config
Diffstat (limited to 'share/hydractl')
-rwxr-xr-x | share/hydractl/provision | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/share/hydractl/provision b/share/hydractl/provision index 31ea7d3..9f1c677 100755 --- a/share/hydractl/provision +++ b/share/hydractl/provision @@ -308,13 +308,13 @@ fi if [ "$swap" != "0" ] && [ "$random_swap" == "y" ]; then cat >> /tmp/debootstrap/etc/crypttab <<-EOF -swap /dev/mapper/$vg-swap none luks,swap +swap /dev/mapper/$vg-swap /dev/random swap,cipher=aes-xts-plain64:sha256 EOF fi if [ "$swap" != "0" ] && [ "$random_swap" != "y" ]; then cat >> /tmp/debootstrap/etc/crypttab <<-EOF -swap /dev/mapper/$vg-swap /dev/random swap,cipher=aes-xts-plain64:sha256 +swap /dev/mapper/$vg-swap none luks,swap EOF fi |