[pve-devel] [PATCH V2 manager] fix #4335: report: add datacenter.cfg to output

Max Carrara m.carrara at proxmox.com
Mon Feb 13 10:19:15 CET 2023


Includes the contents of /etc/pve/datacenter.cfg
in the cluster section.

Signed-off-by: Max Carrara <m.carrara at proxmox.com>
---
Changes from v1:
 * Output of `/etc/pve/datacenter.cfg` is now in the cluster section,
   as discussed[1]

[1] https://lists.proxmox.com/pipermail/pve-devel/2023-February/055715.html

 PVE/Report.pm | 1 +
 1 file changed, 1 insertion(+)

diff --git a/PVE/Report.pm b/PVE/Report.pm
index 90b7cb1c..457bba6e 100644
--- a/PVE/Report.pm
+++ b/PVE/Report.pm
@@ -91,6 +91,7 @@ my $init_report_cmds = sub {
 		'pvecm status',
 		'cat /etc/pve/corosync.conf 2>/dev/null',
 		'ha-manager status',
+		'cat /etc/pve/datacenter.cfg',
 	    ],
 	},
 	hardware => {
-- 
2.30.2






More information about the pve-devel mailing list