]> git.proxmox.com Git - pve-manager.git/blobdiff - PVE/Report.pm
report: add `apt-cache policy` to list recognized APT sources
[pve-manager.git] / PVE / Report.pm
index 4588b2daafd71e92a2c3b362b026171c13c4018e..9b6cd95cf5bed6e8c885dc5cb6e1b82d537c6994 100644 (file)
@@ -38,6 +38,7 @@ my $init_report_cmds = sub {
                'cat /etc/apt/sources.list',
                sub { dir2text('/etc/apt/sources.list.d/', '.+\.list') },
                sub { dir2text('/etc/apt/sources.list.d/', '.+\.sources') },
+               'apt-cache policy | grep -vP "^ +origin "',
                'lscpu',
                'pvesh get /cluster/resources --type node --output-format=yaml',
            ],