Signed-off-by: Wolfgang Bumiller <[email protected]>
---
src/PVE/LXC/Config.pm | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/PVE/LXC/Config.pm b/src/PVE/LXC/Config.pm
index 7bdb8b9..a9a8816 100644
--- a/src/PVE/LXC/Config.pm
+++ b/src/PVE/LXC/Config.pm
@@ -1919,7 +1919,8 @@ sub get_replicatable_volumes {
my ($path, $owner, $vtype) = PVE::Storage::path($storecfg, $volid);
return if !$owner || ($owner != $vmid);
- die "unable to replicate volume '$volid', type '$vtype'\n" if $vtype
ne 'images';
+ die "unable to replicate volume '$volid', type '$vtype'\n"
+ if $vtype ne 'ct-vol' && $vtype ne 'images';
return if !$cleanup && !$replicate;
--
2.47.2
_______________________________________________
pve-devel mailing list
[email protected]
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel