From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate001.proxmox.com (gate001.proxmox.com [45.144.208.40]) by lore.proxmox.com (Postfix) with ESMTPS id 0C1981FF0AA for ; Tue, 06 Oct 2026 09:51:17 +0200 (CEST) Received: from gate001.proxmox.com (localhost.localdomain [127.0.0.1]) by gate001.proxmox.com (Proxmox) with ESMTP id E223821655; Tue, 06 Oct 2026 09:50:59 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dualfroz.com; s=dkim; t=1791273054; h=from:subject:date:message-id:to:mime-version: content-transfer-encoding:in-reply-to:references; bh=sUtOve87Gs8yvF8t5dlAQ9pklsTPUs4C9s4bky+44hE=; b=fYgmacgKXfS4GZ6uH5e2Db8droUhWgyvQxZcB9aawdb5Fs3M1Li3E4eH7fJrMM+91VtO4L 8CppPHsArULyWGSPhbe/o90X5AgqAlqml3tPtPzxo8AbJ38rFYLqUEMe6M8++jhmUAG0r4 DFxWMHKsji9lQM03g0/qQnKU8U8HQ02mUsWlaUpvU0JnObTZ1Iho4C81QRlHQTXKPwsDdW ROi6vb92JRwbx/b5jkVcd6qgGopCYGpJV7AwzU3X2n4Tj4lEiBvSZUaTHF8yEGOyVnshDw /9O4Ahp5pyK7z152oQnAAKgcQ359hxFTe3v2v3nht/+XVNKBXokp1aKelDoOhg== From: Michal Fox To: pve-devel@lists.proxmox.com Subject: [PATCH guest-common 2/3] vzdump: notes template: mention pool variable in description Date: Tue, 6 Oct 2026 07:50:50 +0000 Message-ID: <20261006075051.7-3-me@dualfroz.com> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20261006075051.7-1-me@dualfroz.com> References: <20261006075051.7-1-me@dualfroz.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Last-TLS-Session-Version: TLSv1.3 X-SPAM-LEVEL: Spam detection results: 0 AWL 0.151 Adjusted score from AWL reputation of From: address DKIM_SIGNED 0.1 Message has a DKIM or DK signature, not necessarily valid DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's domain DKIM_VALID_EF -0.1 Message has a valid DKIM or DK signature from envelope-from domain DMARC_PASS -0.1 DMARC pass policy SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record Message-ID-Hash: ZLVS5KB5FGCGZ6EWCOG74GOLRVJZNUYL X-Message-ID-Hash: ZLVS5KB5FGCGZ6EWCOG74GOLRVJZNUYL X-MailFrom: me@dualfroz.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.10 Precedence: list List-Id: Proxmox VE development discussion List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: 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 --- Only the description changes, the variable itself is handled in pve-manager (1/3). src/PVE/VZDump/Common.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/PVE/VZDump/Common.pm b/src/PVE/VZDump/Common.pm index 67a4cf4..1eee227 100644 --- a/src/PVE/VZDump/Common.pm +++ b/src/PVE/VZDump/Common.pm @@ -363,9 +363,9 @@ my $confdesc = { type => 'string', description => "Template string for generating notes for the backup(s). It can contain" . " variables which will be replaced by their values. Currently supported are" - . " {{cluster}}, {{guestname}}, {{node}}, and {{vmid}}, but more might be added in the" - . " future. Needs to be a single line, newline and backslash need to be escaped as '\\n'" - . " and '\\\\' respectively.", + . " {{cluster}}, {{guestname}}, {{node}}, {{pool}}, and {{vmid}}, but more might be" + . " added in the future. Needs to be a single line, newline and backslash need to be" + . " escaped as '\\n' and '\\\\' respectively.", requires => 'storage', maxLength => 1024, optional => 1, -- 2.43.0