balena-supervisor/test/data/docker-states
Christina Wang a7a0821a3e Read hostname from config.json with container /etc/hostname as backup
We don't need to read the host's hostname through /mnt/root/etc/hostname,
because the hostname is written to config.json on a change. When the hostname
has never changed, it won't be found in config.json, so we can default to
the Supervisor container's /etc/hostname as it will match the host's
/etc/hostname, the network mode being `host`.

Closes: #1968
Change-type: patch
Signed-off-by: Christina Wang <christina@balena.io>
2022-06-15 11:31:36 -07:00
..
entrypoint Read hostname from config.json with container /etc/hostname as backup 2022-06-15 11:31:36 -07:00
network-mode-service Read hostname from config.json with container /etc/hostname as backup 2022-06-15 11:31:36 -07:00
networks application-manager: Convert to a singleton 2020-09-14 11:23:36 +01:00
simple Read hostname from config.json with container /etc/hostname as backup 2022-06-15 11:31:36 -07:00
supervisor-api version: drop SUPERVISOR_VERSION env var 2020-09-29 11:22:30 -04:00