I am reading the documentation here: link and I see the statement:
identity attributes must never change for the lifetime of a device, so that a device can be recognized over its lifetime
My use case is as follows:
- Build standard yocto image
- Deploy the same image to multiple SD cards, one per device
- On first boot, commission the device to have unique identifiers
I do have a unique MAC address per device, but ideally I would like a “friendly” name for each device to be visible so that I can see the device easily in the Mender GUI.
My question is:
- On first boot there will be a default “friendly” name for each device but a unique MAC address. The friendly name will then be changed, however we may have had an initial communication with the Mender server by then. Is this allowed? - It is going against the “never change” advice. Will we end up with two devices initially? Is there a better way of doing this?