rbd : set shared as default

Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
This commit is contained in:
Alexandre Derumier
2012-06-06 07:10:49 +02:00
committed by Dietmar Maurer
parent e5427b0097
commit 4f4f94801d

View File

@ -300,7 +300,7 @@ sub parse_config {
$d->{content} = $def->{content}->[1] if !$d->{content}; $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; $d->{shared} = 1;
} }
} }