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/virtual-machines/extensions/update-linux-agent.md
+22-22Lines changed: 22 additions & 22 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ ms.subservice: extensions
7
7
ms.author: gabsta
8
8
author: MsGabsta
9
9
ms.collection: linux
10
-
ms.date: 08/02/2017
10
+
ms.date: 02/03/2023
11
11
12
12
---
13
13
# 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
20
20
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.
21
21
22
22
> [!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)
24
24
25
25
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.
26
26
@@ -45,13 +45,13 @@ Install the latest package version
45
45
sudo apt-get install walinuxagent
46
46
```
47
47
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:
49
49
50
50
```bash
51
51
cat /etc/waagent.conf
52
52
```
53
53
54
-
Find 'AutoUpdate.Enabled'. If you see this output, it is enabled:
54
+
Find 'AutoUpdate.Enabled'. If you see this output, it's enabled:
55
55
56
56
```bash
57
57
# AutoUpdate.Enabled=y
@@ -95,13 +95,13 @@ sudo yum install WALinuxAgent
95
95
96
96
Ensure auto update is enabled
97
97
98
-
First, check to see if it is enabled:
98
+
First, check to see if it's enabled:
99
99
100
100
```bash
101
101
cat /etc/waagent.conf
102
102
```
103
103
104
-
Find 'AutoUpdate.Enabled'. If you see this output, it is enabled:
104
+
Find 'AutoUpdate.Enabled'. If you see this output, it's enabled:
105
105
106
106
```bash
107
107
# AutoUpdate.Enabled=y
@@ -140,13 +140,13 @@ Install the latest package version
140
140
sudo yum install WALinuxAgent
141
141
```
142
142
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:
144
144
145
145
```bash
146
146
cat /etc/waagent.conf
147
147
```
148
148
149
-
Find 'AutoUpdate.Enabled'. If you see this output, it is enabled:
149
+
Find 'AutoUpdate.Enabled'. If you see this output, it's enabled:
150
150
151
151
```bash
152
152
# AutoUpdate.Enabled=y
@@ -162,7 +162,7 @@ sudo sed -i 's/# AutoUpdate.Enabled=n/AutoUpdate.Enabled=y/g' /etc/waagent.conf
@@ -277,10 +277,10 @@ Install the latest package version
277
277
sudo apt-get install waagent
278
278
```
279
279
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.
282
282
283
-
### Debian 9 “Stretch” / Debian 10 “buster”
283
+
### Debian 9 “Stretch” / Debian 10 “Buster”
284
284
285
285
Check your current package version
286
286
@@ -307,7 +307,7 @@ First, check to see if it is enabled:
307
307
cat /etc/waagent.conf
308
308
```
309
309
310
-
Find 'AutoUpdate.Enabled'. If you see this output, it is enabled:
310
+
Find 'AutoUpdate.Enabled'. If you see this output, it's enabled:
311
311
312
312
```bash
313
313
AutoUpdate.Enabled=y
@@ -332,7 +332,7 @@ Then, to install the latest version of the Azure Linux Agent, type:
332
332
sudo yum install WALinuxAgent
333
333
```
334
334
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:
336
336
337
337
For Oracle Linux 6 virtual machines:
338
338
@@ -396,13 +396,13 @@ You may need to install the package `setuptools` first--see [setuptools](https:/
396
396
sudo python setup.py install
397
397
```
398
398
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:
400
400
401
401
```bash
402
402
cat /etc/waagent.conf
403
403
```
404
404
405
-
Find 'AutoUpdate.Enabled'. If you see this output, it is enabled:
405
+
Find 'AutoUpdate.Enabled'. If you see this output, it's enabled:
406
406
407
407
```bash
408
408
# AutoUpdate.Enabled=y
@@ -442,6 +442,6 @@ waagent -version
442
442
443
443
For CoreOS, the above command may not work.
444
444
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.
446
446
447
447
For more information regarding the Azure Linux Agent, see [Azure Linux Agent README](https://github.com/Azure/WALinuxAgent).
0 commit comments