]> git.proxmox.com Git - pve-storage.git/blobdiff - PVE/Storage.pm
fix 2317: list images on 'rootdir' only storages
[pve-storage.git] / PVE / Storage.pm
index 7376dbf72348c2bbcd64d895363ac8097880985d..755eca83d4e3a5b1979813c8e5fd960be27c20e4 100755 (executable)
@@ -845,7 +845,7 @@ sub template_list {
 sub volume_list {
     my ($cfg, $storeid, $vmid, $content) = @_;
 
-    my @ctypes = qw(images vztmpl iso backup snippets);
+    my @ctypes = qw(rootdir images vztmpl iso backup snippets);
 
     my $cts = $content ? [ $content ] : [ @ctypes ];