26.08.2016 13:00, Alexandre DERUMIER wrote:
Hi,
I thing that should be improved, is in Storage/Plugin.pm
if ($type eq 'iscsi' || $type eq 'nfs' || $type eq 'rbd' || $type eq
'sheepdog' || $type eq 'iscsidirect' || $type eq 'glusterfs' || $type eq 'zfs'
|| $type eq 'drbd') {
$d->{shared} = 1;
}
Could be great to define it in plugins directly.
We can set it through storage.cfg. Just add ``shared => { optional => 1
},'' in options() method of plugin and set it true in config if storage
supposed to be shared. It's false by default, which is safe value. I
think that's enough for custom plugins.
_______________________________________________
pve-devel mailing list
pve-devel@pve.proxmox.com
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel