volume_exists() only checked file presence, not content. A stale image from a previous download (different URL/version) would be silently reused, causing templates and VMs to be created from unpatched images even when the mirror's checksum pointed to a newer patched build. Add delete_volume() to ProxmoxClient storage mixin, and update both _do_image_download_sync and _do_image_template_sync to delete the cached volume and re-download whenever a checksum is provided, letting Proxmox verify the new download server-side.
61 KiB
61 KiB