Skip to content

Commit 9089831

Browse files
authored
Merge pull request #179748 from kgremban/nov12-downloadpkgs
Change config package download steps
2 parents c82c3f9 + 50ae99a commit 9089831

File tree

2 files changed

+10
-17
lines changed

2 files changed

+10
-17
lines changed

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -109,18 +109,18 @@ You can quickly configure your IoT Edge device with symmetric key authentication
109109
sudo iotedge config mp --connection-string 'PASTE_DEVICE_CONNECTION_STRING_HERE'
110110
```
111111

112-
The `iotedge config mp` command creates a configuration file on the device, provides your connection string, and applies the configuration changes.
112+
The `iotedge config mp` command creates a configuration file on the device and enters your connection string in the file.
113113

114-
If you want to see the configuration file, you can open it:
114+
Apply the configuration changes.
115115

116116
```bash
117-
sudo nano /etc/aziot/config.toml
117+
sudo iotedge config apply
118118
```
119119

120-
If you make any changes to the configuration file, use the `iotedge config apply` command apply your changes:
120+
If you want to see the configuration file, you can open it:
121121

122122
```bash
123-
sudo iotedge config apply
123+
sudo nano /etc/aziot/config.toml
124124
```
125125

126126
<!-- end 1.2 -->

includes/iot-edge-install-linux.md

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -15,31 +15,24 @@ You need to complete two steps on your device before it's ready to install the I
1515

1616
### Access the Microsoft installation packages
1717

18-
1. Install the repository configuration that matches your device's operating system.
18+
1. Download the repository configuration package that matches your device's operating system.
1919

2020
* **Ubuntu Server 18.04**:
2121

2222
```bash
23-
curl https://packages.microsoft.com/config/ubuntu/18.04/multiarch/prod.list > ./microsoft-prod.list
23+
curl https://packages.microsoft.com/config/ubuntu/18.04/multiarch/packages-microsoft-prod.deb > ./packages-microsoft-prod.deb
2424
```
2525

2626
* **Raspberry Pi OS Stretch**:
2727

2828
```bash
29-
curl https://packages.microsoft.com/config/debian/stretch/multiarch/prod.list > ./microsoft-prod.list
29+
curl https://packages.microsoft.com/config/debian/stretch/multiarch/packages-microsoft-prod.deb > ./packages-microsoft-prod.deb
3030
```
3131

32-
1. Copy the generated list to the sources.list.d directory.
32+
1. Install the configuration package to add Microsoft's package repository and GPG public key.
3333
3434
```bash
35-
sudo cp ./microsoft-prod.list /etc/apt/sources.list.d/
36-
```
37-
38-
1. Install the Microsoft GPG public key.
39-
40-
```bash
41-
curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg
42-
sudo cp ./microsoft.gpg /etc/apt/trusted.gpg.d/
35+
sudo apt install ./packages-microsoft-prod.deb
4336
```
4437
4538
> [!NOTE]

0 commit comments

Comments
 (0)