5
0
mirror of git://git.proxmox.com/git/pve-storage.git synced 2025-02-15 05:57:39 +03:00

allow iso upload for glusterfs

This commit is contained in:
Dietmar Maurer 2014-09-10 14:15:11 +02:00
parent 9761664972
commit e384c898d3

View File

@ -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};