[pve-devel] [PATCH pve-storage 0/2] fix #623: show isos/tmplt/snippets in subdirs

Noel Ullreich n.ullreich at proxmox.com
Fri Mar 3 15:50:49 CET 2023


This patch allows for isos, container templates, and snippets in
subdirectories to be displayed by the web interface and the cli tools.
For the isos/templates/snippets to be displayed, they have to be in
their corresponding base directories
(see: https://pve.proxmox.com/pve-docs/pve-admin-guide.html#storage_directory).

I've started working on a new tree-based dropdown menu in the web interface so 
that directories can be collapsed, however I don't know if that is overkill or 
not, I would like some feedback on that.

Also, no depth limit for the subdirs has been set. Should one be set?

Noel Ullreich (2):
  update `list_volumes` to allow subdirs
  change regex to allow subdirs

 PVE/Storage/Plugin.pm | 79 +++++++++++++++++++++++++++----------------
 1 file changed, 50 insertions(+), 29 deletions(-)

-- 
2.30.2






More information about the pve-devel mailing list