You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
curl -fsSL https://raw.githubusercontent.com/thin-edge/tedge-standalone/main/install.sh | sh -s -- --install-path /data
45
45
```
46
46
47
-
Then, follow the instructions printed out on the console to bootstrap (configure) and then start the services. However if you are planning on using Cumulocity's basic authentication, then you need to run the following section before running the `bootstrap.sh` script.
47
+
Then, follow the instructions printed out on the console to bootstrap (configure) and then start the services.
48
48
49
49
### Install without wget/curl
50
50
@@ -66,11 +66,24 @@ Before running the `bootstrap.sh` script, you will need to set the device's cred
66
66
For example, if you installed thin-edge.io under `/data` then you can set the credentials using the following snippet:
Alternative, you can set the `credentials.toml` under the installed directory, e.g. `/data/tedge/credentials.toml` (if you're using the default installation directory):
76
+
77
+
```sh
70
78
[c8y]
71
79
username = "{tenant}/device_{external_id}"
72
80
password = "{password}"
73
-
EOT
81
+
```
82
+
83
+
For [go-c8y-cli](https://goc8ycli.netlify.app/) users, you can register a device and generate randomized credentials using the following command. The device's username (including tenant) and password will be printed out on the console, and then you can provide the values to the `bootstrap.sh` script.
0 commit comments