From adc7ac6ad0561387c73dbabaa542cc6f0bbcce42 Mon Sep 17 00:00:00 2001 From: malachma Date: Mon, 14 Sep 2020 11:24:10 +0200 Subject: [PATCH] fix nolvm case --- src/linux/common/helpers/alar/alar-fki/distro-test.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/linux/common/helpers/alar/alar-fki/distro-test.sh b/src/linux/common/helpers/alar/alar-fki/distro-test.sh index 6bcfc40..4dbc337 100644 --- a/src/linux/common/helpers/alar/alar-fki/distro-test.sh +++ b/src/linux/common/helpers/alar/alar-fki/distro-test.sh @@ -314,11 +314,13 @@ if [[ "${#a_part_info[@]}" -eq 4 ]]; then # Not a RedHat 6.x system isRedHat6="false" if [[ ${isLVM} == "true" ]]; then + Log-Info "OS with LVM setup" boot_part=$(readlink -f /dev/disk/azure/scsi1/lun0-part"${boot_part_number}") fsck_partition "${boot_part_fs}" "${boot_part}" efi_part=$(readlink -f /dev/disk/azure/scsi1/lun0-part"${efi_part_number}") fsck_partition "${efi_part_fs}" "${efi_part}" else + Log-Info "OS with no LVM setup" efi_part=$(readlink -f /dev/disk/azure/scsi1/lun0-part"${efi_part_number}") fsck_partition "${efi_part_fs}" "${efi_part}" # we can use hardcoded values