summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--stages/second_stage.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/stages/second_stage.sh b/stages/second_stage.sh
index af7ff8a..6c606c7 100644
--- a/stages/second_stage.sh
+++ b/stages/second_stage.sh
@@ -101,7 +101,7 @@ if [ $luks_encryption == "yes" ];then
crypto_partition="${path_to_disk}2"
fi
- cryptdevice_uuid=$(lsblk --fs | grep "$(basename $crypto_partition)" | awk '{print $3}')
+ cryptdevice_uuid=$(lsblk --fs | grep "$(basename $crypto_partition)" | awk '{print $4}')
print_ok "cryptdevice_uuid: $cryptdevice_uuid"
old_kernel_param_line=$(cat /etc/default/grub | grep "GRUB_CMDLINE_LINUX_DEFAULT")
print_ok "old_kernel_param_line: $old_kernel_param_line"