balena-supervisor/test/data
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
..
docker-states Read hostname from config.json with container /etc/hostname as backup 2022-06-15 11:31:36 -07:00
etc Complete /v1/device/host-config unit tests, modify PATCH route 2021-02-18 12:25:44 +09:00
mnt/boot typos: seperate -> separate 2021-03-17 14:27:53 -04:00
ports/not-ascending tests: Add test case for ascending ports issue 2019-01-02 11:31:25 +00:00
resin-data Add some more unit tests to the multicontainer supervisor 2018-04-30 19:39:01 -07:00
sys/class/net state: Report device MAC address to the API 2020-06-22 10:41:06 +01:00
apps-pin.json Add support for GET v3 target state 2022-03-22 19:08:02 -03:00
apps.json Add support for GET v3 target state 2022-03-22 19:08:02 -03:00
boot0.img added support for configuring ODMDATA 2020-08-29 09:05:27 -04:00
device-api-responses.json Complete POST /v1/purge unit tests 2021-02-18 12:25:44 +09:00
testconfig-apibinder-offline2.json Don't generate config fields in offline mode 2018-05-21 14:45:32 +01:00
testconfig-apibinder-offline.json Remove unnecessary config.json keys 2020-05-08 12:56:42 +01:00
testconfig-apibinder.json Use write + sync when writing configs to /mnt/boot 2022-05-03 11:23:00 -04:00
testconfig.json Remove unnecessary config.json keys 2020-05-08 12:56:42 +01:00