add consent-text parameter to datacenter config file
The consent-text parameter is the base64-encoded content of the optional consent-banner which can be displayed before login. The limit is 64 kiB, which is less than the pmxcfs file limit, but still enough to also encode some small images. Signed-off-by: Gabriel Goller <g.goller@proxmox.com>
This commit is contained in:
parent
5f1b748a78
commit
54db793f42
1 changed files with 6 additions and 0 deletions
|
|
@ -449,6 +449,12 @@ my $datacenter_schema = {
|
|||
pattern => "(?:${PVE::JSONSchema::PVE_TAG_RE};)*${PVE::JSONSchema::PVE_TAG_RE}",
|
||||
typetext => "<tag>[;<tag>...]",
|
||||
},
|
||||
'consent-text' => {
|
||||
optional => 1,
|
||||
type => 'string',
|
||||
maxLength => 64 * 1024,
|
||||
description => "Consent text that is displayed before logging in."
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue