pvereport: also add .sources files

while this format is probably not much in use currently, the plan is to make it
the default format in Debian, see 'man 5 sources.list'.

Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
This commit is contained in:
Fabian Ebner 2021-01-27 11:43:20 +01:00 committed by Thomas Lamprecht
parent ecc08c34ea
commit 8672c64e90

View File

@ -22,6 +22,7 @@ my $init_report_cmds = sub {
'pvesubscription get', 'pvesubscription get',
'cat /etc/apt/sources.list', 'cat /etc/apt/sources.list',
sub { dir2text('/etc/apt/sources.list.d/', '.*list') }, sub { dir2text('/etc/apt/sources.list.d/', '.*list') },
sub { dir2text('/etc/apt/sources.list.d/', '.*sources') },
'lscpu', 'lscpu',
'pvesh get /cluster/resources --type node --output-format=yaml', 'pvesh get /cluster/resources --type node --output-format=yaml',
], ],