Am 04.04.25 um 18:08 schrieb Markus Frank: > Adds a config file for directories by using a 'map' property string for > each node mapping. > > example config: > ``` > some-dir-id > map node=node1,path=/path/to/share/ > map node=node2,path=/different/location/ > ``` > > Signed-off-by: Markus Frank <m.fr...@proxmox.com> > --- > v16: > * renamed verify_path to pve_verify_path > * find_on_current_node: fixed undefined values error > * die if the directory id does not exist > * die if there is no directory mapping for the node > > src/Makefile | 1 + > src/PVE/Mapping/Dir.pm | 198 +++++++++++++++++++++++++++++++++++++++++ > 2 files changed, 199 insertions(+) > create mode 100644 src/PVE/Mapping/Dir.pm > >
applied this one, adapting the config path to my changes in cluster, thanks! I missed renaming the Perl module from Dir to Directory though.. _______________________________________________ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel