Skip to content

Commit 99cfbfc

Browse files
authored
Merge pull request #177181 from v-tcassi/installation-package-order-fix
Installation Package Order Fix - GitHub Issue #82822
2 parents 87aab58 + f20fd66 commit 99cfbfc

File tree

2 files changed

+54
-54
lines changed

2 files changed

+54
-54
lines changed

articles/iot-edge/how-to-provision-single-device-linux-symmetric.md

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -202,33 +202,7 @@ When copying the connection string to use on a device, don't include the quotati
202202

203203
In this section, you prepare your Linux virtual machine or physical device for IoT Edge. Then, you install IoT Edge.
204204

205-
There are two steps you need to complete on your device before it is ready to install the IoT Edge runtime. Your device needs a container engine installed, and it needs access to the Microsoft installation packages.
206-
207-
### Install a container engine on your device
208-
209-
Azure IoT Edge relies on an OCI-compatible container runtime. For production scenarios, we recommended that you use the Moby engine. The Moby engine is the only container engine officially supported with Azure IoT Edge. Docker CE/EE container images are compatible with the Moby runtime.
210-
211-
Update package lists on your device.
212-
213-
```bash
214-
sudo apt-get update
215-
```
216-
217-
Install the Moby engine.
218-
219-
```bash
220-
sudo apt-get install moby-engine
221-
```
222-
223-
If you get errors when installing the Moby container engine, verify your Linux kernel for Moby compatibility. Some embedded device manufacturers ship device images that contain custom Linux kernels without the features required for container engine compatibility. Run the following command, which uses the [check-config script](https://github.com/moby/moby/blob/master/contrib/check-config.sh) provided by Moby, to check your kernel configuration:
224-
225-
```bash
226-
curl -sSL https://raw.githubusercontent.com/moby/moby/master/contrib/check-config.sh -o check-config.sh
227-
chmod +x check-config.sh
228-
./check-config.sh
229-
```
230-
231-
In the output of the script, check that all items under `Generally Necessary` and `Network Drivers` are enabled. If you are missing features, enable them by rebuilding your kernel from source and selecting the associated modules for inclusion in the appropriate kernel .config. Similarly, if you are using a kernel configuration generator like `defconfig` or `menuconfig`, find and enable the respective features and rebuild your kernel accordingly. Once you have deployed your newly modified kernel, run the check-config script again to verify that all the required features were successfully enabled.
205+
There are two steps you need to complete on your device before it is ready to install the IoT Edge runtime. Your device needs access to the Microsoft installation packages, and it needs a container engine installed.
232206

233207
### Prepare your device to access the Microsoft installation packages
234208

@@ -261,6 +235,32 @@ In the output of the script, check that all items under `Generally Necessary` an
261235

262236
Azure IoT Edge software packages are subject to the license terms located in each package (`usr/share/doc/{package-name}` or the `LICENSE` directory). Read the license terms prior to using a package. Your installation and use of a package constitutes your acceptance of these terms. If you do not agree with the license terms, do not use that package.
263237

238+
### Install a container engine on your device
239+
240+
Azure IoT Edge relies on an OCI-compatible container runtime. For production scenarios, we recommended that you use the Moby engine. The Moby engine is the only container engine officially supported with Azure IoT Edge. Docker CE/EE container images are compatible with the Moby runtime.
241+
242+
Update package lists on your device.
243+
244+
```bash
245+
sudo apt-get update
246+
```
247+
248+
Install the Moby engine.
249+
250+
```bash
251+
sudo apt-get install moby-engine
252+
```
253+
254+
If you get errors when installing the Moby container engine, verify your Linux kernel for Moby compatibility. Some embedded device manufacturers ship device images that contain custom Linux kernels without the features required for container engine compatibility. Run the following command, which uses the [check-config script](https://github.com/moby/moby/blob/master/contrib/check-config.sh) provided by Moby, to check your kernel configuration:
255+
256+
```bash
257+
curl -sSL https://raw.githubusercontent.com/moby/moby/master/contrib/check-config.sh -o check-config.sh
258+
chmod +x check-config.sh
259+
./check-config.sh
260+
```
261+
262+
In the output of the script, check that all items under `Generally Necessary` and `Network Drivers` are enabled. If you are missing features, enable them by rebuilding your kernel from source and selecting the associated modules for inclusion in the appropriate kernel .config. Similarly, if you are using a kernel configuration generator like `defconfig` or `menuconfig`, find and enable the respective features and rebuild your kernel accordingly. Once you have deployed your newly modified kernel, run the check-config script again to verify that all the required features were successfully enabled.
263+
264264
### Install the IoT Edge runtime
265265

266266
<!-- 1.1 -->

articles/iot-edge/how-to-provision-single-device-linux-x509.md

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -185,33 +185,7 @@ Any device that is registered as an IoT Edge device will have the property **cap
185185

186186
In this section, you prepare your Linux virtual machine or physical device for IoT Edge. Then, you install IoT Edge.
187187

188-
There are two steps you need to complete on your device before it is ready to install the IoT Edge runtime. Your device needs a container engine installed, and it needs access to the Microsoft installation packages.
189-
190-
### Install a container engine on your device
191-
192-
Azure IoT Edge relies on an OCI-compatible container runtime. For production scenarios, we recommended that you use the Moby engine. The Moby engine is the only container engine officially supported with Azure IoT Edge. Docker CE/EE container images are compatible with the Moby runtime.
193-
194-
Update package lists on your device.
195-
196-
```bash
197-
sudo apt-get update
198-
```
199-
200-
Install the Moby engine.
201-
202-
```bash
203-
sudo apt-get install moby-engine
204-
```
205-
206-
If you get errors when installing the Moby container engine, verify your Linux kernel for Moby compatibility. Some embedded device manufacturers ship device images that contain custom Linux kernels without the features required for container engine compatibility. Run the following command, which uses the [check-config script](https://github.com/moby/moby/blob/master/contrib/check-config.sh) provided by Moby, to check your kernel configuration:
207-
208-
```bash
209-
curl -sSL https://raw.githubusercontent.com/moby/moby/master/contrib/check-config.sh -o check-config.sh
210-
chmod +x check-config.sh
211-
./check-config.sh
212-
```
213-
214-
In the output of the script, check that all items under `Generally Necessary` and `Network Drivers` are enabled. If you are missing features, enable them by rebuilding your kernel from source and selecting the associated modules for inclusion in the appropriate kernel .config. Similarly, if you are using a kernel configuration generator like `defconfig` or `menuconfig`, find and enable the respective features and rebuild your kernel accordingly. Once you have deployed your newly modified kernel, run the check-config script again to verify that all the required features were successfully enabled.
188+
There are two steps you need to complete on your device before it is ready to install the IoT Edge runtime. Your device needs access to the Microsoft installation packages, and it needs a container engine installed.
215189

216190
### Prepare your device to access the Microsoft installation packages
217191

@@ -244,6 +218,32 @@ In the output of the script, check that all items under `Generally Necessary` an
244218

245219
Azure IoT Edge software packages are subject to the license terms located in each package (`usr/share/doc/{package-name}` or the `LICENSE` directory). Read the license terms prior to using a package. Your installation and use of a package constitutes your acceptance of these terms. If you do not agree with the license terms, do not use that package.
246220

221+
### Install a container engine on your device
222+
223+
Azure IoT Edge relies on an OCI-compatible container runtime. For production scenarios, we recommended that you use the Moby engine. The Moby engine is the only container engine officially supported with Azure IoT Edge. Docker CE/EE container images are compatible with the Moby runtime.
224+
225+
Update package lists on your device.
226+
227+
```bash
228+
sudo apt-get update
229+
```
230+
231+
Install the Moby engine.
232+
233+
```bash
234+
sudo apt-get install moby-engine
235+
```
236+
237+
If you get errors when installing the Moby container engine, verify your Linux kernel for Moby compatibility. Some embedded device manufacturers ship device images that contain custom Linux kernels without the features required for container engine compatibility. Run the following command, which uses the [check-config script](https://github.com/moby/moby/blob/master/contrib/check-config.sh) provided by Moby, to check your kernel configuration:
238+
239+
```bash
240+
curl -sSL https://raw.githubusercontent.com/moby/moby/master/contrib/check-config.sh -o check-config.sh
241+
chmod +x check-config.sh
242+
./check-config.sh
243+
```
244+
245+
In the output of the script, check that all items under `Generally Necessary` and `Network Drivers` are enabled. If you are missing features, enable them by rebuilding your kernel from source and selecting the associated modules for inclusion in the appropriate kernel .config. Similarly, if you are using a kernel configuration generator like `defconfig` or `menuconfig`, find and enable the respective features and rebuild your kernel accordingly. Once you have deployed your newly modified kernel, run the check-config script again to verify that all the required features were successfully enabled.
246+
247247
### Install the IoT Edge runtime
248248

249249
<!-- 1.1 -->

0 commit comments

Comments
 (0)