I am currently setting up a project where I want to generate BalenaOS .img files dynamically server-side and then serve them to user
To achieve this, I am invoking the CLI
balena os configure my-custom.img
zip my-custom.img.zip my-custom.img
finally serve my-custom.img.zip
However, the process take a lot of time and since he whole process “only add the config.json in the .img disk file” I was wondering if it was possible (I have a preference for Python) to add it via the SDK or another tool either directly in the .img file on even better in the zipped .img file.
Thanks a lot for your experience sharing