зеркало из https://github.com/Azure/azurehpc.git
fix issue when no block device is used
This was breaking the fstab
This commit is contained in:
Родитель
15b4ef946f
Коммит
9ac4db4a55
|
@ -150,9 +150,10 @@ setup_disks()
|
|||
|
||||
mkdir -p $NFS_MOUNT_POINT
|
||||
|
||||
if [ "$nbDisks" = "1" ]; then
|
||||
|
||||
if [ "$nbDisks" -eq "1" ]; then
|
||||
setup_single_disk $NFS_MOUNT_POINT "ext4" "$dataDevices"
|
||||
else
|
||||
elif [ "$nbDisks" -gt "1" ]; then
|
||||
setup_data_disks $NFS_MOUNT_POINT "xfs" "$dataDevices" "md10"
|
||||
fi
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче