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:
parent
9761664972
commit
e384c898d3
@ -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};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user