Mender Device ID

Hello,

For the sake of consistency, I would like to assign all my devices (even non-Mender managed) an ID in the format of a mender device. From what I’ve read, it’s completely generated on the server side. It appears to be a 24 byte alpha numeric string in lower case. I’m not sure if it’s some random number and a a hash of the MAC? Has anyone done this or can point me to information on created a unique device ID format that would match up with the Mender device ID generated by the hosted Mender server?

Thanks

Hi @tmrskos,

I would recommend instead that you change the mender-device-identity script to output your custom ID such as a UUID. This script produces the key-value pairs that are then hashed by the server to generate the ID. But I don’t think you want to rely on the hashed output format not changing.

Drew