public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
From: Michal Fox <me@dualfroz.com>
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	[thread overview]
Message-ID: <20261124065820.7-3-me@dualfroz.com> (raw)
In-Reply-To: <20261124065820.7-1-me@dualfroz.com>

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>
---
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




  parent reply	other threads:[~2026-11-24  8:26 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-24  6:58 [PATCH manager/guest-common/docs v2 0/3] fix #5990: vzdump: notes template: add pool variable Michal Fox
2026-11-24  6:58 ` [PATCH manager v2 1/3] " Michal Fox
2026-11-24  6:58 ` Michal Fox [this message]
2026-11-24  6:58 ` [PATCH docs v2 3/3] vzdump: notes template: document " Michal Fox

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261124065820.7-3-me@dualfroz.com \
    --to=me@dualfroz.com \
    --cc=pve-devel@lists.proxmox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal