]> git.proxmox.com Git - proxmox-backup.git/commitdiff
system report: add all apt repo files
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 26 Oct 2023 12:41:12 +0000 (14:41 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 26 Oct 2023 15:14:45 +0000 (17:14 +0200)
note, we do not filter by *.list or *.source, so one might get also
files that apt won't read, like .dpkg-dist files, but also those with
typos, and thus possibly helpful when debugging things.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
src/server/report.rs

index 025266d1a97f801e21d56bed05b4ee9dd3cbeb5b..368a8fa12879c6074b4a2e441c4bf1a570ee891d 100644 (file)
@@ -5,8 +5,14 @@ use std::process::Command;
 fn files() -> Vec<(&'static str, Vec<&'static str>)> {
     vec![
         (
-            "Host & Network",
-            vec!["/etc/hostname", "/etc/hosts", "/etc/network/interfaces"],
+            "General System Info",
+            vec![
+                "/etc/hostname",
+                "/etc/hosts",
+                "/etc/network/interfaces",
+                "/etc/apt/sources.list",
+                "/etc/apt/sources.list.d/",
+            ],
         ),
         (
             "Datastores & Remotes",