]> git.proxmox.com Git - pve-storage.git/blobdiff - PVE/Storage/Plugin.pm
fix 2317: list images on 'rootdir' only storages
[pve-storage.git] / PVE / Storage / Plugin.pm
index 08ec7494fc1177ed6e8d19c5414a9fa308c4726f..27f832fc161a8da761fe2741fdf0d5280b6c6084 100644 (file)
@@ -954,7 +954,7 @@ sub list_volumes {
     foreach my $ct (@$content_types) {
        my $data;
 
-       if ($ct eq 'images') {
+       if ($ct eq 'images' || $ct eq 'rootdir') {
            $data = $class->list_images($storeid, $scfg, $vmid);
        } elsif ($scfg->{path}) {
            my $path = $class->get_subdir($scfg, $ct);