Update encrypt.sh

This commit is contained in:
proledatarian 2022-02-12 17:08:30 +00:00
parent b00f6b05fd
commit 675870cca7
1 changed files with 3 additions and 3 deletions

View File

@ -7,7 +7,7 @@ part=$(</tmp/disk)2
echo "Encrypting system partition."
echo -e
#cryptsetup -c aes-xts-plain -y -s 512 luksFormat /dev/$part &&
cryptsetup -c aes-xts-plain -y -s 512 luksFormat /dev/$part &&
echo "Partition successfully encrypted."
echo -e
@ -15,7 +15,7 @@ echo -e
echo "Opening and mounting encrypted partition."
echo -e
#cryptsetup luksOpen /dev/$part lvm &&
cryptsetup luksOpen /dev/$part lvm &&
echo "Partition opened and mounted:"
echo -e
@ -29,7 +29,7 @@ pvcreate /dev/mapper/lvm &&
echo -e
# Creating volume group "main".
echo "Creating volume group.
echo "Creating volume group."
vgcreate main /dev/mapper/lvm &&
echo -e