Having gone through previous questions in this forum, I wasn’t able to find the answer to my question.
Is it possible to update name of a device using balena supervisor?
I’ve aware doing so is possible through balenaCloud api as well as python/node SDKs. They’re not suitable for our use case because they require internet connection.
We want to name a device (which has been preloaded) without having internet connection.
Hello, just following up here. When preloading you can set the device name using --initial-device-name if using os configure. See balena CLI Documentation - Balena Documentation - or you can use the Supervisor API as mentioned above to change the host name. Let us know if either of these will work for you or if you found another solution!