From 3e280f2f08d12bb27b134ab478c6bd0d1c50aafb Mon Sep 17 00:00:00 2001 From: Vitaliy Filippov Date: Fri, 13 Jan 2023 01:36:30 +0300 Subject: [PATCH] Mark vitastor as shared storage in PVE driver --- patches/VitastorPlugin.pm | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/patches/VitastorPlugin.pm b/patches/VitastorPlugin.pm index 8852750b..f8e54fce 100644 --- a/patches/VitastorPlugin.pm +++ b/patches/VitastorPlugin.pm @@ -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 },