fix: remove disk health check; it is a misfeature. close #1198

This commit is contained in:
Martin Wimpress 2024-05-11 02:57:41 +01:00 committed by Martin Wimpress
parent 135a08c7b0
commit 4283c1f507
1 changed files with 0 additions and 9 deletions

View File

@ -1852,15 +1852,6 @@ if [ -n "${VM}" ] && [ -e "${VM}" ]; then
exit 1
fi
if [ -e "${disk_img}" ]; then
DiskChkMsg="$("$QEMU_IMG" check -q "${disk_img}" 2>&1)"
if [[ $DiskChkMsg ]]; then
echo; echo "ERROR! disk.qcow2 has problems. Try qemu-img check --help."
echo; echo "$DiskChkMsg" ; echo
exit 1
fi
fi
if [ ! -f "${disk_img}" ]; then
pushd "${VMPATH}" || exit
fi