Hello,
I initially opened a bug on github (see here balena preload breaks when using --config · Issue #2960 · balena-io/balena-cli · GitHub) but while waiting for a response i started thinking I may not be using the tool in the right way.
So, my goal is to create a base image of balena os, preloading it with the latest version of my app and an ssh public key I could use to ssh into the device from local network to troubleshoot when this cannot to cloudlink.
The commands I put together are as follow (also visible in the github ticket)
balena os download generic-amd64 --version v6.5.39+rev2 --output test.img
balena os build-config test.img generic-amd64 --output test.config.json
balena os configure test.img --version v6.5.39+rev2 --fleet <my-fleet> --config test.config.json
balena preload test.img --fleet <my-fleet> --commit <my-app-commit-id>
As anybody succeeded in this?