Hi,
Its possible to flash the SD card on command line, with the correct parameters using:
balena device init --app YourAppName
https://www.balena.io/docs/reference/balena-cli/#device-init
It downloads and builds a production version by default, and ask for network support, asking Wifi SSID and passphrase.
It also registers the device in the app.
For a development version from command line, it doesn’t seems to work.
We can bring a menu for choosing the version:
balena device init --app workshop --os-version menu
Specifying the version should look like:
balena device init --app workshop --os-version 'v2.47.0+rev1.dev'
Both call ask for a storage to flash the configured image, and it won’t ask for Wifi.
The sdcard boot, but the device never get online in the app.
Any idea, how to get a working SD card with balenaOS in development version from command line?
Regards,
Sylvain.