[pve-devel] [PATCH manager] pvereport: also add .sources files

Fabian Ebner f.ebner at proxmox.com
Wed Jan 27 11:43:20 CET 2021


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 at proxmox.com>
---

Follow-up for Stoiko's patch yesterday:
https://lists.proxmox.com/pipermail/pve-devel/2021-January/046785.html

 PVE/Report.pm | 1 +
 1 file changed, 1 insertion(+)

diff --git a/PVE/Report.pm b/PVE/Report.pm
index d2ede5fa..10758c4d 100644
--- a/PVE/Report.pm
+++ b/PVE/Report.pm
@@ -22,6 +22,7 @@ my $init_report_cmds = sub {
 		'pvesubscription get',
 		'cat /etc/apt/sources.list',
 		sub { dir2text('/etc/apt/sources.list.d/', '.*list') },
+		sub { dir2text('/etc/apt/sources.list.d/', '.*sources') },
 		'lscpu',
 		'pvesh get /cluster/resources --type node --output-format=yaml',
 	    ],
-- 
2.20.1






More information about the pve-devel mailing list