[pve-devel] [PATCH manager] pvereport: add `date -R` to general system info section

Lukas Wagner l.wagner at proxmox.com
Thu Feb 23 16:25:59 CET 2023


Sometimes it can be quite useful to know when exactly a system report
was generated. Adds the following output quite prominently in the
general system info section:

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

Signed-off-by: Lukas Wagner <l.wagner at proxmox.com>
---
 PVE/Report.pm | 1 +
 1 file changed, 1 insertion(+)

diff --git a/PVE/Report.pm b/PVE/Report.pm
index d363c15b..c9109dca 100644
--- a/PVE/Report.pm
+++ b/PVE/Report.pm
@@ -29,6 +29,7 @@ my $init_report_cmds = sub {
 	    order => 10,
 	    cmds => [
 		'hostname',
+		'date -R',
 		'pveversion --verbose',
 		'cat /etc/hosts',
 		'pvesubscription get',
-- 
2.30.2






More information about the pve-devel mailing list