[pve-devel] [PATCH manager] pvereport: add `date -R` to general system info section
Stefan Sterz
s.sterz at proxmox.com
Thu Feb 23 16:54:17 CET 2023
On 2/23/23 16:25, Lukas Wagner wrote:
> 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:
>
While I agree that this can be useful sometimes, just as a heads-up,
iptables-save provides that info already:
# Generated by iptables-save v1.8.7 on Thu Feb 23 16:43:26 2023
However, we may not want to rely on that.
> # 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',
More information about the pve-devel
mailing list