[pve-devel] [PATCH] rbd : set shared as default

Alexandre Derumier aderumier at odiso.com
Wed Jun 6 07:10:49 CEST 2012


Signed-off-by: Alexandre Derumier <aderumier at odiso.com>
---
 PVE/Storage/Plugin.pm |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/PVE/Storage/Plugin.pm b/PVE/Storage/Plugin.pm
index 71ed6a1..88d98bb 100644
--- a/PVE/Storage/Plugin.pm
+++ b/PVE/Storage/Plugin.pm
@@ -300,7 +300,7 @@ sub parse_config {
 	    $d->{content} = $def->{content}->[1] if !$d->{content};
 	}
 
-	if ($type eq 'iscsi' || $type eq 'nfs') {
+	if ($type eq 'iscsi' || $type eq 'nfs' || $type eq 'rbd' ) {
 	    $d->{shared} = 1;
 	}
     }
-- 
1.7.2.5




More information about the pve-devel mailing list