only list iscsi when enabled (content == images)
This commit is contained in:
2
Makefile
2
Makefile
@ -2,7 +2,7 @@ RELEASE=2.0
|
||||
|
||||
VERSION=2.0
|
||||
PACKAGE=libpve-storage-perl
|
||||
PKGREL=10
|
||||
PKGREL=11
|
||||
|
||||
DESTDIR=
|
||||
PREFIX=/usr
|
||||
|
||||
@ -76,6 +76,7 @@ __PACKAGE__->register_method ({
|
||||
my $res = {};
|
||||
my @sids = PVE::Storage::storage_ids($cfg);
|
||||
foreach my $storeid (@sids) {
|
||||
next if !$info->{$storeid};
|
||||
my $privs = [ 'Datastore.Audit', 'Datastore.AllocateSpace' ];
|
||||
next if !$rpcenv->check_any($authuser, "/storage/$storeid", $privs, 1);
|
||||
next if $param->{storage} && $param->{storage} ne $storeid;
|
||||
|
||||
@ -1,3 +1,9 @@
|
||||
libpve-storage-perl (2.0-11) unstable; urgency=low
|
||||
|
||||
* only list iscsi when enabled (content == images)
|
||||
|
||||
-- Proxmox Support Team <support@proxmox.com> Wed, 15 Feb 2012 09:33:01 +0100
|
||||
|
||||
libpve-storage-perl (2.0-10) unstable; urgency=low
|
||||
|
||||
* also list tar.gz and tar.lzo backup files
|
||||
|
||||
Reference in New Issue
Block a user