Ubuntu: Install cryptsetup when required
This is issue #5754 (item 2). Reported-by: Peter Fern <github@obfusc8.org>
parent
d44b75dcd7
commit
c8d5b5f70d
|
@ -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:
|
7.2b Create an encrypted swap device:
|
||||||
|
|
||||||
|
# apt install cryptsetup
|
||||||
# echo cryptswap1 /dev/zvol/rpool/swap /dev/urandom \
|
# echo cryptswap1 /dev/zvol/rpool/swap /dev/urandom \
|
||||||
swap,cipher=aes-xts-plain64:sha256,size=256 >> /etc/crypttab
|
swap,cipher=aes-xts-plain64:sha256,size=256 >> /etc/crypttab
|
||||||
# systemctl daemon-reload
|
# 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:
|
7.2b Create an encrypted swap device:
|
||||||
|
|
||||||
|
# apt install cryptsetup
|
||||||
# echo cryptswap1 /dev/zvol/rpool/swap /dev/urandom \
|
# echo cryptswap1 /dev/zvol/rpool/swap /dev/urandom \
|
||||||
swap,cipher=aes-xts-plain64:sha256,size=256 >> /etc/crypttab
|
swap,cipher=aes-xts-plain64:sha256,size=256 >> /etc/crypttab
|
||||||
# systemctl daemon-reload
|
# 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:
|
7.2b Create an encrypted swap device:
|
||||||
|
|
||||||
|
# apt install cryptsetup
|
||||||
# echo cryptswap1 /dev/zvol/rpool/swap /dev/urandom \
|
# echo cryptswap1 /dev/zvol/rpool/swap /dev/urandom \
|
||||||
swap,cipher=aes-xts-plain64:sha256,size=256 >> /etc/crypttab
|
swap,cipher=aes-xts-plain64:sha256,size=256 >> /etc/crypttab
|
||||||
# systemctl daemon-reload
|
# systemctl daemon-reload
|
||||||
|
|
Loading…
Reference in New Issue