@alexgg / @mpous - Even with us moving fully to a self-hosted open-balena instance (at *.edge.docker.localhost), and config.json fully pointed to it:
{
"applicationId": 1,
"userId": 3,
"apiKey": "...omitted...",
"deviceType": "generic-amd64",
"appUpdatePollInterval": 60000,
"listenPort": 48484,
"vpnPort": 443,
"apiEndpoint": "https://api.edge.docker.localhost",
"vpnEndpoint": "cloudlink.edge.docker.localhost",
"registryEndpoint": "registry.edge.docker.localhost",
"deltaEndpoint": "https://delta.edge.docker.localhost",
"mixpanelToken": "unused",
"logsEndpoint": "https://logs.edge.docker.localhost",
"balenaRootCA": "...omitted..."
}
The /mnt/state/root-overlay/etc/balena-supervisor/supervisor.conf
still defaults to:
SUPERVISOR_IMAGE=registry2.balena-cloud.com/v2/50dd4f24898632338c0d4f7016f39c03
SUPERVISOR_VERSION=v14.12.0
LED_FILE=/dev/null
and the resulting balena-supervisor config.v2.json file ends up with:
"DOCKER_ROOT=/mnt/root/var/lib/docker",
"DOCKER_SOCKET=/var/run/balena-engine.sock",
"BOOT_MOUNTPOINT=/mnt/boot",
"MIXPANEL_TOKEN=unused",
"LED_FILE=/dev/null",
"DELTA_ENDPOINT=https://delta.edge.docker.localhost",
"LISTEN_PORT=48484",
"NODE_EXTRA_CA_CERTS=",
"SUPERVISOR_IMAGE=registry2.balena-cloud.com/v2/50dd4f24898632338c0d4f7016f39c03",
"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
"VERSION=master",
"SUPERVISOR_CONTAINER_ID=aa2672052c1ebc0e6c296cc4d13922302638c1dad8c2b467b4232bef8c24c122"
How do I get balenaOS to obey the registryEndpoint
from config.json instead of always using registry2.balena-cloud.com
?