]> git.proxmox.com Git - pmg-api.git/commitdiff
report: add `date -R` to general system info section
authorLukas Wagner <l.wagner@proxmox.com>
Thu, 23 Feb 2023 15:37:52 +0000 (16:37 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 27 Mar 2023 10:34:35 +0000 (12:34 +0200)
Sometimes it can be quite useful to know when exactly a system report
was generated. Adds the following output quite prominently in the
beginning:

 # date -R
 Thu, 23 Feb 2023 16:21:12 +0100

Signed-off-by: Lukas Wagner <l.wagner@proxmox.com>
src/PMG/Report.pm

index 5e06b685e79a4a40179f3b3f8cb1f8f3da568767..aeda802958099a2bea89ceeb7cd3902061a106c7 100644 (file)
@@ -15,6 +15,7 @@ my $report_def = {
        title => 'general system info',
        cmds => [
            'hostname',
+           'date -R',
            'pmgversion --verbose',
            'cat /etc/hosts',
            'cat /etc/resolv.conf',