Files
maas/images/maas-region-controller-noble/override.chrony.conf
Sergiy Markin df71afd59e Fix ingress_disable_gui handling for region_api
When ingress_disable_gui is set to true, the
/MAAS/ws path was not being routed to the
region_api service, which is necessary for MAAS
CLI and other non-GUI interactions. This change
adds the required path routing to ensure that the
/MAAS/ws endpoint is correctly directed to the
region_api service.

Also include a minor fix or noble images
publishing.

Change-Id: I76bcc2513dc1d6f42c1fbac53535d7ed34328ca7
Signed-off-by: Sergiy Markin <smarkin@mirantis.com>
2025-10-17 20:31:49 +00:00

17 lines
542 B
Plaintext

[Service]
# Run chrony as the package user on Noble
User=_chrony
Group=avahi
# Let systemd create writable runtime dir for that user
RuntimeDirectory=chrony
RuntimeDirectoryMode=0777
RuntimeDirectoryPreserve=yes
# Defensive: ensure dir exists with correct owner (no-op if already created)
ExecStartPre=-/usr/bin/install -d -o _chrony -g avahi -m 0777 /run/chrony
# Caps needed inside container (matches your pod securityContext)
CapabilityBoundingSet=CAP_SYS_TIME CAP_NET_BIND_SERVICE
AmbientCapabilities=CAP_SYS_TIME CAP_NET_BIND_SERVICE