[pve-devel] [PATCH cluster v2 2/4] add consent-text parameter to datacenter config file
Gabriel Goller
g.goller at proxmox.com
Fri Dec 6 12:19:56 CET 2024
The consent-text parameter is the base64-encoded content of the optional
consent-banner which can be displayed before login.
Signed-off-by: Gabriel Goller <g.goller at proxmox.com>
---
src/PVE/DataCenterConfig.pm | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/src/PVE/DataCenterConfig.pm b/src/PVE/DataCenterConfig.pm
index abd0bbfd4532..0347bd5ae19f 100644
--- a/src/PVE/DataCenterConfig.pm
+++ b/src/PVE/DataCenterConfig.pm
@@ -449,6 +449,11 @@ my $datacenter_schema = {
pattern => "(?:${PVE::JSONSchema::PVE_TAG_RE};)*${PVE::JSONSchema::PVE_TAG_RE}",
typetext => "<tag>[;<tag>...]",
},
+ 'consent-text' => {
+ optional => 1,
+ type => 'string',
+ description => "Consent text that is displayed before logging in."
+ },
},
};
--
2.39.5
More information about the pve-devel
mailing list