diff options
-rwxr-xr-x | kvmx | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -1939,6 +1939,11 @@ function kvmx_compress { exit 1 fi + if [ ! -e "$image" ]; then + echo "$BASENAME: image not found: $image" + exit 1 + fi + # Avoid trying to convert guest using other images such as LVM volumes if [ "$format" != "qcow2" ]; then echo "$BASENAME: please convert guest $VM image to qcow2 and update your config" |