Revert "add disk health check"

This reverts commit 0e4fc7e79a.
This commit is contained in:
zen0bit 2024-04-09 04:04:58 +02:00 committed by Martin Wimpress
parent 59865c894e
commit d680eecbdc
1 changed files with 0 additions and 8 deletions

View File

@ -1749,14 +1749,6 @@ if [ -n "${VM}" ] && [ -e "${VM}" ]; then
exit 1
fi
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
VMDIR=$(dirname "${disk_img}")
VMNAME=$(basename "${VM}" .conf)
VMPATH=$(realpath "$(dirname "${VM}")")