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
Copy file name to clipboardExpand all lines: articles/iot-hub-device-update/device-update-agent-provisioning.md
+26-8Lines changed: 26 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -76,8 +76,25 @@ Follow these instructions to provision the Device Update agent on [IoT Edge enab
76
76
77
77
1. Follow the instructions to [Install and provision the Azure IoT Edge runtime](https://docs.microsoft.com/azure/iot-edge/how-to-install-iot-edge?view=iotedge-2020-11&preserve-view=true).
78
78
79
-
1. Then install the Device Update agent from [Artifacts](https://github.com/Azure/iot-hub-device-update/releases) and you are now ready to start the Device Update agent on your IoT Edge device.
80
-
79
+
1. Install the Device Update image update agent
80
+
- We provide sample images in [Artifacts](https://github.com/Azure/iot-hub-device-update/releases) to try image update rollouts to different versions using a base image (adu-base-image) and one update image (adu-update-image). See example of [how to flash the image to your IoT Hub device](https://docs.microsoft.com/azure/iot-hub-device-update/device-update-raspberry-pi#flash-sd-card-with-image).
81
+
82
+
1. Install the Device Update package update agent
83
+
- For latest agent versions from packages.miscrosoft.com: Update package lists on your device and install the Device Update agent package and its dependencies using:
- For upcoming release candidate versions from [Artifacts](https://github.com/Azure/iot-hub-device-update/releases) : Download the .dep file to the machine you want to install the Device Update agent on, then:
93
+
```shell
94
+
Sudo apt-get install -y ./"<PATH TO FILE>"/"<.DEP FILE NAME>"
95
+
```
96
+
97
+
1. You are now ready to start the Device Update agent on your IoT Edge device.
81
98
82
99
### On non-Edge IoT Linux devices
83
100
@@ -125,14 +142,15 @@ Follow these instructions to provision the Device Update agent on your IoT Linux
125
142
sudo aziotctl config apply
126
143
```
127
144
128
-
1. Finally install the Device Update agent from [Artifacts](https://github.com/Azure/iot-hub-device-update/releases) and you are now ready to start the Device Update agent on your IoT Edge device.
145
+
1. Finally install the Device Update agent. We provide sample images in[Artifacts](https://github.com/Azure/iot-hub-device-update/releases) to try image update rollouts to different versions using a base image (adu-base-image) and one update image (adu-update-image). See example of [how to flash the image to your IoT Hub device](https://docs.microsoft.com/azure/iot-hub-device-update/device-update-raspberry-pi#flash-sd-card-with-image).
129
146
147
+
1. You are now ready to start the Device Update agent on your IoT device.
130
148
131
149
### Other IoT devices
132
150
133
151
The Device Update agent can also be configured without the IoT Identity service for testing or on constrained devices. Follow the below steps to provision the Device Update agent using a connection string (from the Module or Device).
134
152
135
-
1. Install Device Update agent from [Artifacts](https://github.com/Azure/iot-hub-device-update/releases).
153
+
1. We provide sample images in [Artifacts](https://github.com/Azure/iot-hub-device-update/releases) to try image update rollouts to different versions using a base image (adu-base-image) and one update image (adu-update-image). See example of [how to flash the image to your IoT Hub device](https://docs.microsoft.com/azure/iot-hub-device-update/device-update-raspberry-pi#flash-sd-card-with-image).
136
154
137
155
1. Log onto the machine or IoT Edge device/IoT device.
138
156
@@ -145,16 +163,16 @@ The Device Update agent can also be configured without the IoT Identity service
145
163
146
164
1. You should see a window open with some text in it. Delete the entire string following 'connection_String=' the first-time you provision the Device Update agent on the IoT device. It is just place holder text.
147
165
148
-
1. In the terminal, replace <your-connection-string> with the connection string of the device for your instance of Device Update agent.
166
+
1. In the terminal, replace "<your-connection-string>" with the connection string of the device for your instance of Device Update agent.
1. Now you are now ready to start the Device Update agent on your IoT Edge device.
175
+
1. Now you are now ready to start the Device Update agent on your IoT device.
158
176
159
177
160
178
## How to start the Device Update Agent
@@ -187,7 +205,7 @@ You can also build and modify your own customer Device Update agent.
187
205
Follow the instructions to [build](https://github.com/Azure/iot-hub-device-update/blob/main/docs/agent-reference/how-to-build-agent-code.md) the Device Update Agent
188
206
from source.
189
207
190
-
Once the agent is successfully building, it's time [run](https://github.com/Azure/iot-hub-device-update/blob/main/docs/agent-reference/how-to-run-agent.md)
208
+
Once the agent is successfully building, it's time to [run](https://github.com/Azure/iot-hub-device-update/blob/main/docs/agent-reference/how-to-run-agent.md)
191
209
the agent.
192
210
193
211
Now, make the changes needed to incorporate the agent into your image. Look at how to
0 commit comments