[pve-devel] [PATCH guest-common 1/1] vzdump: update notes-template description

Fabian Ebner f.ebner at proxmox.com
Thu Apr 28 10:07:40 CEST 2022


as the actual handling in pve-manager changed a bit.

Signed-off-by: Fabian Ebner <f.ebner at proxmox.com>
---
 src/PVE/VZDump/Common.pm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/PVE/VZDump/Common.pm b/src/PVE/VZDump/Common.pm
index d8c78c4..72337cb 100644
--- a/src/PVE/VZDump/Common.pm
+++ b/src/PVE/VZDump/Common.pm
@@ -239,7 +239,8 @@ my $confdesc = {
 	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.",
+	    "future. Needs to be a single line, newline and backslash need to be escaped as '\\n' ".
+	    "and '\\\\' respectively.",
 	requires => 'storage',
 	optional => 1,
     },
-- 
2.30.2






More information about the pve-devel mailing list