Ubuntu: Install cryptsetup when required

This is issue #5754 (item 2).

Reported-by: Peter Fern <github@obfusc8.org>
Richard Laager 2017-02-08 01:58:18 -06:00
parent d44b75dcd7
commit c8d5b5f70d
3 changed files with 3 additions and 0 deletions

@ -351,6 +351,7 @@ Choose one of the following options. If you are going to do an encrypted home d
7.2b Create an encrypted swap device:
# apt install cryptsetup
# echo cryptswap1 /dev/zvol/rpool/swap /dev/urandom \
swap,cipher=aes-xts-plain64:sha256,size=256 >> /etc/crypttab
# systemctl daemon-reload

@ -347,6 +347,7 @@ Choose one of the following options. If you are going to do an encrypted home d
7.2b Create an encrypted swap device:
# apt install cryptsetup
# echo cryptswap1 /dev/zvol/rpool/swap /dev/urandom \
swap,cipher=aes-xts-plain64:sha256,size=256 >> /etc/crypttab
# systemctl daemon-reload

@ -362,6 +362,7 @@ Choose one of the following options. If you are going to do an encrypted home d
7.2b Create an encrypted swap device:
# apt install cryptsetup
# echo cryptswap1 /dev/zvol/rpool/swap /dev/urandom \
swap,cipher=aes-xts-plain64:sha256,size=256 >> /etc/crypttab
# systemctl daemon-reload