Skip to content

Commit d4e090c

Browse files
authored
Merge pull request #76 from thin-edge/feat-release-prep
feat: add doc notes to the Cumulocity certificate-authority feature
2 parents 9b9f21d + 8eab0c1 commit d4e090c

File tree

3 files changed

+13
-1
lines changed

3 files changed

+13
-1
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,17 @@ Note: These instructions use the Cumulocity certificate-authority feature and a
118118

119119
3. 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|

docker-compose.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)