From e384c898d32ca521659f1d0e3723fccbcc21c1dd Mon Sep 17 00:00:00 2001 From: Dietmar Maurer Date: Wed, 10 Sep 2014 14:15:11 +0200 Subject: [PATCH] allow iso upload for glusterfs --- PVE/API2/Storage/Status.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PVE/API2/Storage/Status.pm b/PVE/API2/Storage/Status.pm index 815f1c8..d9326b7 100644 --- a/PVE/API2/Storage/Status.pm +++ b/PVE/API2/Storage/Status.pm @@ -327,7 +327,7 @@ __PACKAGE__->register_method ({ my $scfg = PVE::Storage::storage_check_enabled($cfg, $param->{storage}, $node); die "cant upload to storage type '$scfg->{type}'\n" - if !($scfg->{type} eq 'dir' || $scfg->{type} eq 'nfs'); + if !($scfg->{type} eq 'dir' || $scfg->{type} eq 'nfs' || $scfg->{type} eq 'glusterfs'); my $content = $param->{content};