mirror of
https://git.proxmox.com/git/pve-cluster
synced 2025-10-04 05:03:03 +00:00
add mapping/directory.cfg for resource mapping to observed files
Add it to both the perl side (PVE/Cluster.pm) and pmxcfs side (status.c). This config file will be used to map directory IDs to paths on selected hosts. Signed-off-by: Markus Frank <m.frank@proxmox.com> Reviewed-by: Fiona Ebner <f.ebner@proxmox.com> Reviewed-by: Laurențiu Leahu-Vlăducu <l.leahu-vladucu@proxmox.com Reviewed-by: Daniel Kral <d.kral@proxmox.com> Tested-by: Laurențiu Leahu-Vlăducu <l.leahu-vladucu@proxmox.com> Tested-by: Daniel Kral <d.kral@proxmox.com> Tested-by: Lukas Wagner <l.wagner@proxmox.com> [TL: s/dir/directory/ for verbosity] Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
407b2aa5c1
commit
767ffa8e28
@ -86,6 +86,7 @@ my $observed = {
|
||||
'sdn/.running-config' => 1,
|
||||
'virtual-guest/cpu-models.conf' => 1,
|
||||
'virtual-guest/profiles.cfg' => 1,
|
||||
'mapping/directory.cfg' => 1,
|
||||
'mapping/pci.cfg' => 1,
|
||||
'mapping/usb.cfg' => 1,
|
||||
};
|
||||
|
@ -116,6 +116,7 @@ static memdb_change_t memdb_change_array[] = {
|
||||
{ .path = "virtual-guest/cpu-models.conf" },
|
||||
{ .path = "virtual-guest/profiles.cfg" },
|
||||
{ .path = "firewall/cluster.fw" },
|
||||
{ .path = "mapping/directory.cfg" },
|
||||
{ .path = "mapping/pci.cfg" },
|
||||
{ .path = "mapping/usb.cfg" },
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user