The consent-text parameter is the base64-encoded content of the optional consent-banner which can be displayed before login. The limit is 128kB, which is less than the pmxcfs file limit, but still enough to also encode images.
Signed-off-by: Gabriel Goller <g.gol...@proxmox.com> --- src/PVE/DataCenterConfig.pm | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/PVE/DataCenterConfig.pm b/src/PVE/DataCenterConfig.pm index abd0bbfd4532..9d1c02726637 100644 --- a/src/PVE/DataCenterConfig.pm +++ b/src/PVE/DataCenterConfig.pm @@ -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 => 128000, + description => "Consent text that is displayed before logging in." + }, }, }; -- 2.39.5 _______________________________________________ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel