all lists on lists.proxmox.com
 help / color / mirror / Atom feed
From: Max Carrara <m.carrara@proxmox.com>
To: pve-devel@lists.proxmox.com, m.carrara@proxmox.com
Subject: [pve-devel] [PATCH manager] fix #4335: report: add datacenter.cfg to output
Date: Tue,  7 Feb 2023 16:34:22 +0100	[thread overview]
Message-ID: <20230207153422.130676-1-m.carrara@proxmox.com> (raw)

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

Signed-off-by: Max Carrara <m.carrara@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





             reply	other threads:[~2023-02-07 15:35 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-07 15:34 Max Carrara [this message]
2023-02-08 14:21 ` Thomas Lamprecht

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230207153422.130676-1-m.carrara@proxmox.com \
    --to=m.carrara@proxmox.com \
    --cc=pve-devel@lists.proxmox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal