[pve-devel] [PATCH 29/48] rbd : has_feature : clone : allow current

Alexandre Derumier aderumier at odiso.com
Tue Jan 29 17:14:11 CET 2013


for template cloning, we don't pass the snapname (snapname = base)

Signed-off-by: Alexandre Derumier <aderumier at odiso.com>
---
 PVE/Storage/RBDPlugin.pm |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/PVE/Storage/RBDPlugin.pm b/PVE/Storage/RBDPlugin.pm
index c416e3d..b9688e9 100644
--- a/PVE/Storage/RBDPlugin.pm
+++ b/PVE/Storage/RBDPlugin.pm
@@ -384,7 +384,7 @@ sub volume_has_feature {
 
    my $features = {
         snapshot => { current => 1, snap => 1},
-        clone => { snap => 1},
+        clone => { current => 1, snap => 1},
         copy => { current => 1, snap => 1},
     };
 
-- 
1.7.10.4




More information about the pve-devel mailing list