all lists on lists.proxmox.com
 help / color / mirror / Atom feed
From: Stoiko Ivanov <s.ivanov@proxmox.com>
To: pve-devel@lists.proxmox.com
Subject: [pve-devel] [PATCH manager] pvereport: add apt sources
Date: Tue, 26 Jan 2021 18:31:38 +0100	[thread overview]
Message-ID: <20210126173138.26581-1-s.ivanov@proxmox.com> (raw)

Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
---
Recently we had a few cases in our enterprise support, where this information
would have saved us one roundtrip.

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

diff --git a/PVE/Report.pm b/PVE/Report.pm
index 36bbcebb..d2ede5fa 100644
--- a/PVE/Report.pm
+++ b/PVE/Report.pm
@@ -20,6 +20,8 @@ my $init_report_cmds = sub {
 		'cat /etc/hosts',
 		'top -b -n 1  | head -n 15',
 		'pvesubscription get',
+		'cat /etc/apt/sources.list',
+		sub { dir2text('/etc/apt/sources.list.d/', '.*list') },
 		'lscpu',
 		'pvesh get /cluster/resources --type node --output-format=yaml',
 	    ],
-- 
2.20.1





             reply	other threads:[~2021-01-26 17:32 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-26 17:31 Stoiko Ivanov [this message]
2021-01-26 17:46 ` [pve-devel] applied: " 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=20210126173138.26581-1-s.ivanov@proxmox.com \
    --to=s.ivanov@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