Closed mstoffel-sag closed 2 years ago
From my understanding you could basically add the device id to the agent.ini in the config directory.
If the line exists it will use that one.
Normally the serial will be fetched from the system: https://github.com/SoftwareAG/cumulocity-devicemanagement-agent/blob/9b101e107d719dba0623a534d1f6c864952bf257/c8ydm/main.py#L111-L131
If you provide device.id in the ini it this will be overwritten.
In the docs:
"The script will build a docker image and starting one instance afterwards. Per default Bootstrapping is used and no other information is necessary. In this case the docker container Id is the device Id which should be entered when registering a device in cumulocity."
But how can the device id (external_id) be configured when running outside of docker?