]> git.proxmox.com Git - pmg-api.git/blobdiff - src/PMG/Report.pm
pmg-system-report: add apt sources
[pmg-api.git] / src / PMG / Report.pm
index 0fe742bad575f7f6ba9b455debb20eb09332730c..82ae5f7b81072a0c20bf76c556a333e98102e8ce 100644 (file)
@@ -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 => [