Fix VMNAME

This commit is contained in:
Martin Wimpress 2021-10-25 15:14:59 +01:00
parent ed2ba41cb5
commit 0567229405
No known key found for this signature in database
GPG key ID: 61DF940515E06DA3

View file

@ -1111,7 +1111,7 @@ if [ -n "${VM}" ] && [ -e "${VM}" ]; then
fi
VMDIR=$(dirname "${disk_img}")
VMNAME=$(basename "${VM}.conf")
VMNAME=$(basename "${VM}" .conf)
VMPATH=$(realpath "$(dirname "${VM}")")
# Backwards compatibility for ${driver_iso}