to be able to get them in the gui directly after login Signed-off-by: Dominik Csapak <d.csa...@proxmox.com> --- PVE/API2.pm | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/PVE/API2.pm b/PVE/API2.pm index a4256160..0592d4de 100644 --- a/PVE/API2.pm +++ b/PVE/API2.pm @@ -111,6 +111,16 @@ __PACKAGE__->register_method ({ optional => 1, description => 'The default console viewer to use.', }, + 'tag-colors' => { + type => 'string', + optional => 1, + description => 'Cluster wide tag color overrides', + }, + 'tag-tree-style' => { + type => 'string', + optional => 1, + description => 'Tag style in tree', + }, }, }, code => sub { @@ -119,7 +129,7 @@ __PACKAGE__->register_method ({ my $res = {}; my $datacenter_confg = eval { PVE::Cluster::cfs_read_file('datacenter.cfg') } // {}; - for my $k (qw(console)) { + for my $k (qw(console tag-colors tag-tree-style)) { $res->{$k} = $datacenter_confg->{$k} if exists $datacenter_confg->{$k}; } -- 2.30.2 _______________________________________________ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel