here’re steps to follow …
- create an application (balenaCloud)
- git push
- get the application ID (it’s in the dashboard URL)
- visit Releases and copy the release UUID
- download OS image (even via add device button)
- unzip the OS image
… and run …
balena preload $UNZIPPED_IMAGE_PATH --app $APP_ID --commit $APP_RELEASE
balena preload ./balena-cloud-python-raspberrypi3-2.36.0+rev2-dev-v9.15.0.img --app 1470061 --commit f9d139ca31b8594f90d7b9098b1353b14c
You’ll be asked:
This application is set to automatically update all devices to the latest available version.
This might be unexpected behaviour: with this enabled, the preloaded device will still
download and install the latest release once it is online.
Do you want to disable automatic updates for this application?
Warning: To re-enable this requires direct api calls,
Alternatively you can pass the --pin-device-to-release flag to pin only this device to the selected release.
Answer yes to allow to pin the device to this release or no to allow future updates.
Insert the SD card into RPi and boot it.
Docker must be running on your computer. If you’re on macOS, use Docker Community Edition 18.06.1-ce-mac73 2018-08-29 and don’t update it. See this issue for more info.
Does it help?