[pve-devel] applied: [PATCH guest-common v16 2/12] add dir mapping section config
Thomas Lamprecht
t.lamprecht at proxmox.com
Mon Apr 7 11:58:23 CEST 2025
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.frank at 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..
More information about the pve-devel
mailing list