This commit is contained in:
malachma 2020-09-14 11:24:10 +02:00
Родитель 3b8b65c04f
Коммит adc7ac6ad0
1 изменённых файлов: 2 добавлений и 0 удалений

Просмотреть файл

@ -314,11 +314,13 @@ if [[ "${#a_part_info[@]}" -eq 4 ]]; then
# Not a RedHat 6.x system # Not a RedHat 6.x system
isRedHat6="false" isRedHat6="false"
if [[ ${isLVM} == "true" ]]; then if [[ ${isLVM} == "true" ]]; then
Log-Info "OS with LVM setup"
boot_part=$(readlink -f /dev/disk/azure/scsi1/lun0-part"${boot_part_number}") boot_part=$(readlink -f /dev/disk/azure/scsi1/lun0-part"${boot_part_number}")
fsck_partition "${boot_part_fs}" "${boot_part}" fsck_partition "${boot_part_fs}" "${boot_part}"
efi_part=$(readlink -f /dev/disk/azure/scsi1/lun0-part"${efi_part_number}") efi_part=$(readlink -f /dev/disk/azure/scsi1/lun0-part"${efi_part_number}")
fsck_partition "${efi_part_fs}" "${efi_part}" fsck_partition "${efi_part_fs}" "${efi_part}"
else else
Log-Info "OS with no LVM setup"
efi_part=$(readlink -f /dev/disk/azure/scsi1/lun0-part"${efi_part_number}") efi_part=$(readlink -f /dev/disk/azure/scsi1/lun0-part"${efi_part_number}")
fsck_partition "${efi_part_fs}" "${efi_part}" fsck_partition "${efi_part_fs}" "${efi_part}"
# we can use hardcoded values # we can use hardcoded values