[pve-devel] applied: [PATCH pve-cluster v2 1/1] notify: add common_template_data
Thomas Lamprecht
t.lamprecht at proxmox.com
Fri Apr 4 12:15:59 CEST 2025
Am 28.03.25 um 11:19 schrieb Lukas Wagner:
> This commit add the `common_template_data` sub to PVE::Notify,
> providing a convenient way to get a hash with properties that
> should be accessible from all templates, namely hostname, fqdn
> and cluster-name.
>
> Signed-off-by: Lukas Wagner <l.wagner at proxmox.com>
> ---
>
> Notes:
> Changes since v1:
> - use PVE::Tools::get_fqdn instead of using `hostname -f` subprocess
> to get the fqdn (thx @Thomas!)
>
> src/PVE/Notify.pm | 27 +++++++++++++++++++++++++++
> 1 file changed, 27 insertions(+)
>
>
applied, thanks!
More information about the pve-devel
mailing list