Re: [pve-devel] [PATCH container] refuse to add non-replicatable disks to replicating VMs

2017-06-26 Thread Dietmar Maurer
> Unfortunately for new disks we can only do this after it has > been created due to the volume_has_feature() interface > requiring a volume name. Same here. Please try to use PVE::Storage::storage_can_replicate() ___ pve-devel mailing list pve-devel@

[pve-devel] [PATCH container] refuse to add non-replicatable disks to replicating VMs

2017-06-26 Thread Wolfgang Bumiller
Unless replication is explicitly disabled for them. Unfortunately for new disks we can only do this after it has been created due to the volume_has_feature() interface requiring a volume name. --- src/PVE/LXC.pm | 14 ++ 1 file changed, 14 insertions(+) diff --git a/src/PVE/LXC.pm b/