Fixing variable.

This commit is contained in:
Tommaso Chiti 2021-10-31 11:10:04 +01:00
parent c3cc5b8414
commit 7f3e268c89

View file

@ -120,8 +120,8 @@ mkfs.fat -F 32 $ESP &>/dev/null
# Creating a LUKS Container for the root partition. # Creating a LUKS Container for the root partition.
print "Creating LUKS Container for the root partition." print "Creating LUKS Container for the root partition."
read -r -p "Insert password for the LUKS container: " password read -r -p "Insert password for the LUKS container: " password
echo -n "$hostname" | cryptsetup luksFormat $Cryptroot -d - echo -n "$password" | cryptsetup luksFormat $Cryptroot -d -
echo -n "$hostname" | cryptsetup open $Cryptroot cryptroot -d - echo -n "$password" | cryptsetup open $Cryptroot cryptroot -d -
BTRFS="/dev/mapper/cryptroot" BTRFS="/dev/mapper/cryptroot"
# Formatting the LUKS Container as BTRFS. # Formatting the LUKS Container as BTRFS.