From: Stoiko Ivanov Date: Fri, 24 Apr 2020 17:01:01 +0000 (+0200) Subject: pmg-system-report: add apt sources X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=f5b3734573629a4a378b5e0ad6845dc22636796d;p=pmg-api.git pmg-system-report: add apt sources Signed-off-by: Stoiko Ivanov --- diff --git a/src/PMG/Report.pm b/src/PMG/Report.pm index 0fe742b..82ae5f7 100644 --- a/src/PMG/Report.pm +++ b/src/PMG/Report.pm @@ -21,6 +21,8 @@ my $report_def = { 'top -b -n 1 | head -n 15', 'pmgsubscription get', sub { check_dns_resolution() }, + 'cat /etc/apt/sources.list', + sub { dir2text('/etc/apt/sources.list.d/', '.*\.list' ) }, ], }, storage => [