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

Max Carrara m.carrara at proxmox.com
Tue Feb 7 16:34:22 CET 2023


Simply includes the contents of /etc/pve/datacenter.cfg
in the general system info section.

Signed-off-by: Max Carrara <m.carrara at proxmox.com>
---
 PVE/Report.pm | 1 +
 1 file changed, 1 insertion(+)

diff --git a/PVE/Report.pm b/PVE/Report.pm
index 90b7cb1c..f40e84f3 100644
--- a/PVE/Report.pm
+++ b/PVE/Report.pm
@@ -37,6 +37,7 @@ my $init_report_cmds = sub {
 		sub { dir2text('/etc/apt/sources.list.d/', '.*sources') },
 		'lscpu',
 		'pvesh get /cluster/resources --type node --output-format=yaml',
+		'cat /etc/pve/datacenter.cfg',
 	    ],
 	},
 	'system-load' => {
-- 
2.30.2






More information about the pve-devel mailing list