mirror of
git://git.proxmox.com/git/pve-guest-common.git
synced 2024-12-23 17:34:10 +03:00
vzdump: schema: add 'notes-template' and 'protected' properties
In command_line(), notes are printed, quoted, but otherwise as is, which is a bit ugly for multi-line notes. But it is part of the commandline, so print it. Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
This commit is contained in:
parent
73a3e4cb23
commit
51cbaa3f93
@ -233,7 +233,22 @@ my $confdesc = {
|
||||
type => 'string',
|
||||
description => 'Backup all known guest systems included in the specified pool.',
|
||||
optional => 1,
|
||||
}
|
||||
},
|
||||
'notes-template' => {
|
||||
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.",
|
||||
requires => 'storage',
|
||||
optional => 1,
|
||||
},
|
||||
protected => {
|
||||
type => 'boolean',
|
||||
description => "If true, mark backup(s) as protected.",
|
||||
requires => 'storage',
|
||||
optional => 1,
|
||||
},
|
||||
};
|
||||
|
||||
sub get_confdesc {
|
||||
|
Loading…
Reference in New Issue
Block a user