]> git.proxmox.com Git - pve-cluster.git/commitdiff
fix #4234: vzdump: add cluster-wide configuration
authorLeo Nunner <l.nunner@proxmox.com>
Tue, 7 Mar 2023 12:11:03 +0000 (13:11 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Sat, 11 Mar 2023 17:11:13 +0000 (18:11 +0100)
Introduce a cluster-wide vzdump.conf file which gets filled with the
default vzdump configuration.

Signed-off-by: Leo Nunner <l.nunner@proxmox.com>
data/PVE/Cluster.pm
data/src/status.c

index 0154aae09b346fa5a822d880908cae074c31c10e..efca58fb4c35ac4c24b15de5cb67bcad11196fda 100644 (file)
@@ -45,6 +45,7 @@ my $dbbackupdir = "/var/lib/pve-cluster/backup";
 # using a computed version and only those can be used by the cfs_*_file methods
 my $observed = {
     'vzdump.cron' => 1,
+    'vzdump.conf' => 1,
     'jobs.cfg' => 1,
     'storage.cfg' => 1,
     'datacenter.cfg' => 1,
index 5e1e841743de2c201a81ef0825f4252ea239b60a..9e520a57723cf29c47118ad99c2612f5a96d2993 100644 (file)
@@ -89,6 +89,7 @@ static memdb_change_t memdb_change_array[] = {
        { .path = "priv/ipam.db" },
        { .path = "datacenter.cfg" },
        { .path = "vzdump.cron" },
+       { .path = "vzdump.conf" },
        { .path = "jobs.cfg" },
        { .path = "ha/crm_commands" },
        { .path = "ha/manager_status" },