I’m very simply trying to grab the device hostname within my application. Unfortunately when I SSH into the device and run
echo $RESIN_DEVICE_NAME_AT_INIT within the terminal no value is outputted except a new empty line.
If I run the following command to get the host config:
curl: (3) <url> malformed
Also please note that I’m not looking for the containers hostname, I’m looking to retrieve the devices OR better yet if I can set the hostname of the container based on the parent, that would work as well.
Thanks in advance,