Optimized root variables

This commit is contained in:
2020-10-01 21:01:06 +02:00
parent 131d677bb8
commit b60b0c0d2b
2 changed files with 11 additions and 6 deletions

View File

@@ -243,8 +243,8 @@ if [ "$transfer_image" = "y" ]
if [ "$encrypt_system" == "y" ]
then
info "Formating $root_partition_path with LUKS..." &&
sudo cryptsetup -v luksFormat -c aes-xts-plain64 -s 512 -h sha512 --use-random -i 1000 "$root_partition_path" ||
error
sudo cryptsetup -v luksFormat -c aes-xts-plain64 -s 512 -h sha512 --use-random -i 1000 "$root_partition_path" &&
set_root_variables || error
fi
info "Format root partition..." &&