From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate001.proxmox.com (gate001.proxmox.com [IPv6:2a0f:8001:1:32::40]) by lore.proxmox.com (Postfix) with ESMTPS id 67BAD1FF066 for ; Tue, 24 Nov 2026 09:26:55 +0100 (CET) Received: from gate001.proxmox.com (localhost.localdomain [127.0.0.1]) by gate001.proxmox.com (Proxmox) with ESMTP id 71370216D1; Tue, 24 Nov 2026 09:26:39 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dualfroz.com; s=dkim; t=1795503503; h=from:subject:date:message-id:to:mime-version: content-transfer-encoding:in-reply-to:references; bh=MP1wCWqbiTsG7pmYtJHWBjnQF8W4WNaRuyFUrNf9wuE=; b=bGBRt3AYVDEz3C3JFYYhMg3ASnONCH5d/y/6NHVS3HwwmRWsF8TwOYxh9fUXvpFFZdYDaS tx+JLBdDbHIN48speW1fiKpJrLT1E0yrjz99fYIP8oVTBUIYjosn+190f5ubf2/ZyS7ix2 DNzMWtZzXiLDhUoZYr35KKh55tc63wvmA1a6Fi30AcMuI/HxPBjl09o6G1LVF6ItB1WSB4 50iMJFdTzOQ6jtbbNcVYg/s5NAV7aWjeFxQnZHev1UYdwirbTJBVT1XzpM3kbv0+XLunRm dSiseY1qXAbFwCb20viqGo+FevzMnteHlF/Cj8sW+XkWIpL7cba74NS1Y4FDpQ== From: Michal Fox To: pve-devel@lists.proxmox.com Subject: [PATCH guest-common v2 2/3] vzdump: notes template: mention pool variable in description Date: Tue, 24 Nov 2026 06:58:19 +0000 Message-ID: <20261124065820.7-3-me@dualfroz.com> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20261124065820.7-1-me@dualfroz.com> References: <20261124065820.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: 1 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 RDNS_NONE 1.274 Delivered to internal network by a host with no rDNS SPF_FAIL 0.919 SPF: sender does not match SPF record (fail) SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record X-MailFrom: me@dualfroz.com X-Mailman-Rule-Hits: nonmember-moderation X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; emergency; member-moderation Message-ID-Hash: 4PTMUIUIRSJW6FAP4UHRMBQUIFN5NS2N X-Message-ID-Hash: 4PTMUIUIRSJW6FAP4UHRMBQUIFN5NS2N X-Mailman-Approved-At: Tue, 24 Nov 2026 09:26:36 +0100 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 1f66b85..0baea98 100644 --- a/src/PVE/VZDump/Common.pm +++ b/src/PVE/VZDump/Common.pm @@ -364,9 +364,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}}, {{uid}}, 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}}, {{uid}}, 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