Signed-off-by: Wolfgang Bumiller <w.bumil...@proxmox.com>
---
 src/PVE/QemuConfig.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/PVE/QemuConfig.pm b/src/PVE/QemuConfig.pm
index 79a46e45..451ad5c4 100644
--- a/src/PVE/QemuConfig.pm
+++ b/src/PVE/QemuConfig.pm
@@ -160,7 +160,7 @@ sub get_replicatable_volumes {
         my ($path, $owner, $vtype) = PVE::Storage::path($storecfg, $volid);
         return if !$owner || ($owner != $vmid);
 
-        if ($vtype ne 'images') {
+        if ($vtype ne 'vm-vol' && $vtype ne 'images') {
             return if $cleanup || $noerr;
             die "unable to replicate volume '$volid', type '$vtype'\n";
         }
-- 
2.47.2



_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to