mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2024-12-24 07:46:41 +00:00
a7a0821a3e
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> |
||
---|---|---|
.. | ||
docker-states | ||
etc | ||
mnt/boot | ||
ports/not-ascending | ||
resin-data | ||
sys/class/net | ||
apps-pin.json | ||
apps.json | ||
boot0.img | ||
device-api-responses.json | ||
testconfig-apibinder-offline2.json | ||
testconfig-apibinder-offline.json | ||
testconfig-apibinder.json | ||
testconfig.json |