public inbox for pmg-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [pmg-devel] [PATCH pmg-api] report: add `date -R` to general system info section
@ 2023-02-23 15:37 Lukas Wagner
  2023-03-27 10:34 ` [pmg-devel] applied: " Thomas Lamprecht
  0 siblings, 1 reply; 2+ messages in thread
From: Lukas Wagner @ 2023-02-23 15:37 UTC (permalink / raw)
  To: pmg-devel

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 | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/PMG/Report.pm b/src/PMG/Report.pm
index 5e06b68..aeda802 100644
--- a/src/PMG/Report.pm
+++ b/src/PMG/Report.pm
@@ -15,6 +15,7 @@ my $report_def = {
 	title => 'general system info',
 	cmds => [
 	    'hostname',
+	    'date -R',
 	    'pmgversion --verbose',
 	    'cat /etc/hosts',
 	    'cat /etc/resolv.conf',
-- 
2.30.2





^ permalink raw reply	[flat|nested] 2+ messages in thread

* [pmg-devel] applied: [PATCH pmg-api] report: add `date -R` to general system info section
  2023-02-23 15:37 [pmg-devel] [PATCH pmg-api] report: add `date -R` to general system info section Lukas Wagner
@ 2023-03-27 10:34 ` Thomas Lamprecht
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Lamprecht @ 2023-03-27 10:34 UTC (permalink / raw)
  To: Lukas Wagner, pmg-devel

Am 23/02/2023 um 16:37 schrieb Lukas Wagner:
> 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 | 1 +
>  1 file changed, 1 insertion(+)
> 
>

applied, thanks!




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-03-27 10:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-23 15:37 [pmg-devel] [PATCH pmg-api] report: add `date -R` to general system info section Lukas Wagner
2023-03-27 10:34 ` [pmg-devel] applied: " Thomas Lamprecht

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal