[pve-devel] [PATCH manager] pvereport: add apt sources

Stoiko Ivanov s.ivanov at proxmox.com
Tue Jan 26 18:31:38 CET 2021


Signed-off-by: Stoiko Ivanov <s.ivanov at 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






More information about the pve-devel mailing list