5
0
mirror of git://git.proxmox.com/git/pve-storage.git synced 2024-12-22 13:34:16 +03:00

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};
}
if ($type eq 'iscsi' || $type eq 'nfs') {
if ($type eq 'iscsi' || $type eq 'nfs' || $type eq 'rbd' ) {
$d->{shared} = 1;
}
}