Open marcoherbst opened 1 year ago
There is a simple way to do:
(dd if=*img of=/dev/new_sd)
The working version should have a service that check :
In case we update new things, we will update the *.img and sync changes will all EDGE devices via ansible.
There is another option. We can use Compute Provisioning system from Raspberry themselves
However this will take more time & efforts to achieve.
Cloning is the best (time & money) it reduce the burning phase, and setting up new system.
> I have done this in the UK and it worked from 7/8 RPIs. the one that didn't worked had different Architecture (aarch7)
I have created an API before to call for new NXW provisioning. some work has been done here : I remember shifting this to github but don't remember where. I'll find out
Just to keep this fresh, Riadh gave a summary of what today the steps are to configure a new kit from a fresh router + pi (with PiOS):
We are having this discussion here as well https://docs.google.com/spreadsheets/d/1PHp8Cs2poTjnuT28hTr8NDYFLAw9eD2yUXQojP6sxTY/edit?gid=1115603320#gid=1115603320
A proposed workflow is something like:
I am proposing this as the most simple (from an Ops PoV) configuration workflow. i.e. burn SD, put SD in device.
Or look to something like this: https://docs.aws.amazon.com/iot/latest/developerguide/jit-provisioning.html https://aws.amazon.com/blogs/iot/setting-up-just-in-time-provisioning-with-aws-iot-core/ https://www.verytechnology.com/iot-insights/aws-iot-core-elixir-and-nerves-a-crash-course https://fullsteamlabs.com/blog/workflows-for-elixir-nerves https://github.com/nerves-hub/documentation/blob/main/nerves-key/provisioning-in-elixir.md
Possibly helpful: https://github.com/nerves-project/boardid https://github.com/mendersoftware