Hi,
currently we have the following workflow:
I download the ISO from the balena dashboard. Then, using balena preload, I’m injecting our app into the image.
Then, using balena Etcher, we are flashing our SD cards. Current setup allows flashing of 14 SD cards simultanously, with incredible speed (takes roughly 1 minute incl. verification)!!
But, we need to personalize our SD cards, meaning, we do the following steps (scripted):
# mount device, do some UUID generation etc.
# ...
balena device register $APP_NAME --uuid $DEVICE_UUID
# other balena calls for public_urls, tags, etc.
balena config generate --device $DEVICE_UUID --version $OS_VERSION --output config.json // and other params
cp config.json /Volumes/resin-boot/config.json
# unmount, cleanup, other stuff
This takes ~30-40 seconds and requires to swap each SD card individually, which is quite time consuming.
Did anyone find out, how to do this for multiple SD cards simulateously?
I somehow have the feeling that when I insert the SD cards in multiple card readers, it’s not predicatble, which SD card will be mounted to in which order.
I’d love to run the script for our setup of 14 SD cards and can then be sure, that I know, which SD card is which one.
Any thoughts?
Thanks
Fritz