Skip to content

Commit 9dfc81d

Browse files
authored
Updated for acrolinx and review comments
1 parent 9ee9b9b commit 9dfc81d

File tree

1 file changed

+22
-22
lines changed

1 file changed

+22
-22
lines changed

articles/virtual-machines/extensions/update-linux-agent.md

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ ms.subservice: extensions
77
ms.author: gabsta
88
author: MsGabsta
99
ms.collection: linux
10-
ms.date: 08/02/2017
10+
ms.date: 02/03/2023
1111

1212
---
1313
# How to update the Azure Linux Agent on a VM
@@ -20,7 +20,7 @@ To update your [Azure Linux Agent](https://github.com/Azure/WALinuxAgent) on a L
2020
You should always check for a package in the Linux distro repository first. It is possible the package available may not be the latest version, however, enabling autoupdate will ensure the Linux Agent will always get the latest update. Should you have issues installing from the package managers, you should seek support from the distro vendor.
2121

2222
> [!NOTE]
23-
> For more information see [Endorsed Linux distributions on Azure](../linux/endorsed-distros.md)
23+
> For more information, see [Endorsed Linux distributions on Azure](../linux/endorsed-distros.md)
2424
2525
Verify the [Minimum version support for virtual machine agents in Azure](https://support.microsoft.com/help/4049215/extensions-and-virtual-machine-agent-minimum-version-support) before proceeding.
2626

@@ -45,13 +45,13 @@ Install the latest package version
4545
sudo apt-get install walinuxagent
4646
```
4747

48-
Ensure auto update is enabled. First, check to see if it is enabled:
48+
Ensure auto update is enabled. First, check to see if it's enabled:
4949

5050
```bash
5151
cat /etc/waagent.conf
5252
```
5353

54-
Find 'AutoUpdate.Enabled'. If you see this output, it is enabled:
54+
Find 'AutoUpdate.Enabled'. If you see this output, it's enabled:
5555

5656
```bash
5757
# AutoUpdate.Enabled=y
@@ -95,13 +95,13 @@ sudo yum install WALinuxAgent
9595

9696
Ensure auto update is enabled
9797

98-
First, check to see if it is enabled:
98+
First, check to see if it's enabled:
9999

100100
```bash
101101
cat /etc/waagent.conf
102102
```
103103

104-
Find 'AutoUpdate.Enabled'. If you see this output, it is enabled:
104+
Find 'AutoUpdate.Enabled'. If you see this output, it's enabled:
105105

106106
```bash
107107
# AutoUpdate.Enabled=y
@@ -140,13 +140,13 @@ Install the latest package version
140140
sudo yum install WALinuxAgent
141141
```
142142

143-
Ensure auto update is enabled. First, check to see if it is enabled:
143+
Ensure auto update is enabled. First, check to see if it's enabled:
144144

145145
```bash
146146
cat /etc/waagent.conf
147147
```
148148

149-
Find 'AutoUpdate.Enabled'. If you see this output, it is enabled:
149+
Find 'AutoUpdate.Enabled'. If you see this output, it's enabled:
150150

151151
```bash
152152
# AutoUpdate.Enabled=y
@@ -162,7 +162,7 @@ sudo sed -i 's/# AutoUpdate.Enabled=n/AutoUpdate.Enabled=y/g' /etc/waagent.conf
162162
Restart the waagent service
163163

164164
```bash
165-
sudo systemctl restart waagent
165+
sudo systemctl restart waagent.service
166166
```
167167

168168
## SUSE SLES
@@ -185,13 +185,13 @@ sudo zypper install python-azure-agent
185185

186186
Ensure auto update is enabled
187187

188-
First, check to see if it is enabled:
188+
First, check to see if it's enabled:
189189

190190
```bash
191191
cat /etc/waagent.conf
192192
```
193193

194-
Find 'AutoUpdate.Enabled'. If you see this output, it is enabled:
194+
Find 'AutoUpdate.Enabled'. If you see this output, it's enabled:
195195

196196
```bash
197197
# AutoUpdate.Enabled=y
@@ -230,13 +230,13 @@ sudo zypper install python-azure-agent
230230

231231
Ensure auto update is enabled
232232

233-
First, check to see if it is enabled:
233+
First, check to see if it's enabled:
234234

235235
```bash
236236
cat /etc/waagent.conf
237237
```
238238

239-
Find 'AutoUpdate.Enabled'. If you see this output, it is enabled:
239+
Find 'AutoUpdate.Enabled'. If you see this output, it's enabled:
240240

241241
```bash
242242
# AutoUpdate.Enabled=y
@@ -257,7 +257,7 @@ sudo systemctl restart waagent.service
257257

258258
## Debian
259259

260-
### Debian 11 "bullseye"
260+
### Debian 11 "Bullseye"
261261

262262
Check your current package version
263263

@@ -277,10 +277,10 @@ Install the latest package version
277277
sudo apt-get install waagent
278278
```
279279

280-
Enable agent auto update
281-
This version of Debian does not have a version >= 2.0.16, therefore AutoUpdate is not available for it. The output from the above command will show you if the package is up-to-date.
280+
Enable agent auto update.
281+
This version of Debian doesn't have a version >= 2.0.16, therefore AutoUpdate isn't available for it. The output from the above command will show you if the package is up-to-date.
282282

283-
### Debian 9 “Stretch” / Debian 10 “buster
283+
### Debian 9 “Stretch” / Debian 10 “Buster
284284

285285
Check your current package version
286286

@@ -307,7 +307,7 @@ First, check to see if it is enabled:
307307
cat /etc/waagent.conf
308308
```
309309

310-
Find 'AutoUpdate.Enabled'. If you see this output, it is enabled:
310+
Find 'AutoUpdate.Enabled'. If you see this output, it's enabled:
311311

312312
```bash
313313
AutoUpdate.Enabled=y
@@ -332,7 +332,7 @@ Then, to install the latest version of the Azure Linux Agent, type:
332332
sudo yum install WALinuxAgent
333333
```
334334

335-
If you don't find the add-on repository you can simply add these lines at the end of your .repo file according to your Oracle Linux release:
335+
If you don't find the add-on repository, you can simply add these lines at the end of your `.repo` file according to your Oracle Linux release:
336336

337337
For Oracle Linux 6 virtual machines:
338338

@@ -396,13 +396,13 @@ You may need to install the package `setuptools` first--see [setuptools](https:/
396396
sudo python setup.py install
397397
```
398398

399-
Ensure auto update is enabled. First, check to see if it is enabled:
399+
Ensure auto update is enabled. First, check to see if it's enabled:
400400

401401
```bash
402402
cat /etc/waagent.conf
403403
```
404404

405-
Find 'AutoUpdate.Enabled'. If you see this output, it is enabled:
405+
Find 'AutoUpdate.Enabled'. If you see this output, it's enabled:
406406

407407
```bash
408408
# AutoUpdate.Enabled=y
@@ -442,6 +442,6 @@ waagent -version
442442

443443
For CoreOS, the above command may not work.
444444

445-
You will see that the Azure Linux Agent version has been updated to the new version.
445+
You'll see that the Azure Linux Agent version has been updated to the new version.
446446

447447
For more information regarding the Azure Linux Agent, see [Azure Linux Agent README](https://github.com/Azure/WALinuxAgent).

0 commit comments

Comments
 (0)