balena-supervisor/test/data/docker-states/entrypoint
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
..
compose.json Add support for GET v3 target state 2022-03-22 19:08:02 -03:00
imageInfo.json Read hostname from config.json with container /etc/hostname as backup 2022-06-15 11:31:36 -07:00
inspect.json Rename networks to <appUuid>_<networkName> 2022-03-22 19:08:03 -03:00