Update encrypt.sh
This commit is contained in:
parent
b00f6b05fd
commit
675870cca7
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue