横向客户端不更新横向界面上的标签

landscape client not updating tags on landscape interface

我需要修改已在横向上注册的计算机 (ubuntu 16.04) 的标签。当我更改 /etc/landscape/client.conf 中的标签并重新启动服务时,我在横向上看不到更新的新标签。

systemctl restart landscape-client

当我尝试在客户端上 运行 landscape-config 时,我在 landscape 上得到了一个副本。

landscape-config --silent

我想从客户端更新命令行上的标签,这样我就可以自动执行它,而不是通过横向界面。

我得到了答案,在命令行上无法做到这一点,但我们可以在横向界面或使用 api https://landscape.canonical.com/static/doc/api/computers.html#addtagstocomputers