From ee0d4b356c602b01789f4dc83721dd4e43ba18b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Graber?= Date: Thu, 21 Nov 2024 13:03:50 +0000 Subject: [PATCH 1/2] instance/config: Mark user keys as live updatable MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Stéphane Graber --- internal/instance/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/instance/config.go b/internal/instance/config.go index 0a5140f9f9..f0fe92cc6c 100644 --- a/internal/instance/config.go +++ b/internal/instance/config.go @@ -1065,7 +1065,7 @@ var InstanceConfigKeysVM = map[string]func(value string) error{ // User keys can be used in search. // --- // type: string - // liveupdate: no + // liveupdate: yes // shortdesc: Free-form user key/value storage // gendoc:generate(entity=instance, group=miscellaneous, key=agent.nic_config) From 214c6da53e227aa1605109f7d96f9ebcdb7f77ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Graber?= Date: Thu, 21 Nov 2024 13:05:14 +0000 Subject: [PATCH 2/2] doc: Update configs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Stéphane Graber --- doc/config_options.txt | 2 +- internal/server/metadata/configuration.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/config_options.txt b/doc/config_options.txt index 949a1aa4cb..2d57978a4f 100644 --- a/doc/config_options.txt +++ b/doc/config_options.txt @@ -607,7 +607,7 @@ Specify the kernel modules as a comma-separated list. ``` ```{config:option} user.* instance-miscellaneous -:liveupdate: "no" +:liveupdate: "yes" :shortdesc: "Free-form user key/value storage" :type: "string" User keys can be used in search. diff --git a/internal/server/metadata/configuration.json b/internal/server/metadata/configuration.json index 6f82d06db2..dfe2929337 100644 --- a/internal/server/metadata/configuration.json +++ b/internal/server/metadata/configuration.json @@ -664,7 +664,7 @@ }, { "user.*": { - "liveupdate": "no", + "liveupdate": "yes", "longdesc": "User keys can be used in search.", "shortdesc": "Free-form user key/value storage", "type": "string"