File tree Expand file tree Collapse file tree 3 files changed +13
-1
lines changed
Expand file tree Collapse file tree 3 files changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ RUN wget -O - https://thin-edge.io/install-services.sh | sh -s -- s6_overlay \
4848 # might not have access to it
4949 # Note: Volumes should be configured to persist the docker compose files
5050 docker-cli-compose \
51- tedge-container-plugin-ng \
51+ " tedge-container-plugin-ng<2.3.0" \
5252 # Support updating from older images which still use the deprecated self type
5353 && ln -s /usr/bin/tedge-container /etc/tedge/sm-plugins/self
5454
Original file line number Diff line number Diff line change @@ -118,6 +118,17 @@ Note: These instructions use the Cumulocity certificate-authority feature and a
118118
1191193. Click on the registration url to be redirected to the Cumulocity URL in your browser and confirm the registration
120120
121+
122+ ** Notes**
123+
124+ You can change the default device enrollment by setting the following environment variables on the container.
125+
126+ ` ` ` sh
127+ C8Y_DOMAIN=example-demo.eu-latest.cumulocity.com
128+ DEVICE_ID=tedge_mydevice001
129+ DEVICE_ONE_TIME_PASSWORD=< max_32_chars>
130+ ` ` `
131+
121132# # Project structure
122133
123134| Directory| Description|
Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ services:
77 environment :
88 - C8Y_DOMAIN=${C8Y_DOMAIN:-}
99 - DEVICE_ID=${DEVICE_ID:-}
10+ - DEVICE_ONE_TIME_PASSWORD=${DEVICE_ONE_TIME_PASSWORD:-}
1011 - CA=${CA:-c8y}
1112 tmpfs :
1213 - /tmp
You can’t perform that action at this time.
0 commit comments