Mark vitastor as shared storage in PVE driver

rdma-v2
Vitaliy Filippov 2023-01-13 01:36:30 +03:00
parent fe87b4076b
commit 3e280f2f08
1 changed files with 7 additions and 1 deletions

View File

@ -16,6 +16,11 @@ use PVE::Tools qw(run_command);
use base qw(PVE::Storage::Plugin);
if (@PVE::Storage::Plugin::SHARED_STORAGE)
{
push @PVE::Storage::Plugin::SHARED_STORAGE, 'vitastor';
}
sub api
{
# Trick it :)
@ -133,9 +138,10 @@ sub properties
sub options
{
return {
shared => { optional => 1 },
nodes => { optional => 1 },
disable => { optional => 1 },
vitastor_etcd_address => { optional => 1},
vitastor_etcd_address => { optional => 1 },
vitastor_etcd_prefix => { optional => 1 },
vitastor_config_path => { optional => 1 },
vitastor_prefix => { optional => 1 },