refactor(swarm-mgmt): move agent/updater certs to /etc/decnet (root-owned)

This commit is contained in:
2026-04-19 05:32:39 -04:00
parent bc5f43c3f7
commit e67b6d7f73
2 changed files with 13 additions and 10 deletions

View File

@@ -178,8 +178,8 @@ def _render_decnet_ini(master_host: str) -> bytes:
f"master-host = {master_host}\n"
"swarm-syslog-port = 6514\n"
"agent-port = 8765\n"
"agent-dir = /root/.decnet/agent\n"
"updater-dir = /root/.decnet/updater\n"
"agent-dir = /etc/decnet/agent\n"
"updater-dir = /etc/decnet/updater\n"
).encode()