vzdump: notes template: mention pool variable in description

The notes template now also supports a {{pool}} variable, which is
replaced with the resource pool the guest is a member of.

Signed-off-by: Michal Fox <me@dualfroz.com>
This commit is contained in:
dualfroz committed 2026-10-03 01:13:50 +02:00
1 parent f6331c20f6
commit 29e78a8216
1 file changed
+3 -3
+3 -3
View File
@@ -363,9 +363,9 @@ my $confdesc = {
type => 'string', type => 'string',
description => "Template string for generating notes for the backup(s). It can contain" description => "Template string for generating notes for the backup(s). It can contain"
. " variables which will be replaced by their values. Currently supported are" . " variables which will be replaced by their values. Currently supported are"
. " {{cluster}}, {{guestname}}, {{node}}, and {{vmid}}, but more might be added in the" . " {{cluster}}, {{guestname}}, {{node}}, {{pool}}, and {{vmid}}, but more might be"
. " future. Needs to be a single line, newline and backslash need to be escaped as '\\n'" . " added in the future. Needs to be a single line, newline and backslash need to be"
. " and '\\\\' respectively.", . " escaped as '\\n' and '\\\\' respectively.",
requires => 'storage', requires => 'storage',
maxLength => 1024, maxLength => 1024,
optional => 1, optional => 1,