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 "Encrypting system partition."
|
||||||
echo -e
|
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 "Partition successfully encrypted."
|
||||||
echo -e
|
echo -e
|
||||||
|
|
||||||
|
@ -15,7 +15,7 @@ echo -e
|
||||||
echo "Opening and mounting encrypted partition."
|
echo "Opening and mounting encrypted partition."
|
||||||
echo -e
|
echo -e
|
||||||
|
|
||||||
#cryptsetup luksOpen /dev/$part lvm &&
|
cryptsetup luksOpen /dev/$part lvm &&
|
||||||
echo "Partition opened and mounted:"
|
echo "Partition opened and mounted:"
|
||||||
echo -e
|
echo -e
|
||||||
|
|
||||||
|
@ -29,7 +29,7 @@ pvcreate /dev/mapper/lvm &&
|
||||||
echo -e
|
echo -e
|
||||||
|
|
||||||
# Creating volume group "main".
|
# Creating volume group "main".
|
||||||
echo "Creating volume group.
|
echo "Creating volume group."
|
||||||
vgcreate main /dev/mapper/lvm &&
|
vgcreate main /dev/mapper/lvm &&
|
||||||
echo -e
|
echo -e
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue