From 7f3e268c8969936df8d270b44bb163bb4ef7f0a0 Mon Sep 17 00:00:00 2001 From: Tommaso Chiti Date: Sun, 31 Oct 2021 11:10:04 +0100 Subject: [PATCH] Fixing variable. --- easy-arch.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/easy-arch.sh b/easy-arch.sh index 4166ed7..d5dc080 100644 --- a/easy-arch.sh +++ b/easy-arch.sh @@ -120,8 +120,8 @@ mkfs.fat -F 32 $ESP &>/dev/null # Creating a LUKS Container for the root partition. print "Creating LUKS Container for the root partition." read -r -p "Insert password for the LUKS container: " password -echo -n "$hostname" | cryptsetup luksFormat $Cryptroot -d - -echo -n "$hostname" | cryptsetup open $Cryptroot cryptroot -d - +echo -n "$password" | cryptsetup luksFormat $Cryptroot -d - +echo -n "$password" | cryptsetup open $Cryptroot cryptroot -d - BTRFS="/dev/mapper/cryptroot" # Formatting the LUKS Container as BTRFS.