Skip to content

Commit b8da990

Browse files
authored
Merge pull request #100881 from MicahMcKittrick-MSFT/patch-305
Update update-linux-agent.md
2 parents 89c37b8 + 79faa0a commit b8da990

File tree

1 file changed

+2
-73
lines changed

1 file changed

+2
-73
lines changed

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

Lines changed: 2 additions & 73 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Update the Azure Linux Agent from GitHub
33
description: Learn how to update Azure Linux Agent for your Linux VM in Azure
44
services: virtual-machines-linux
55
documentationcenter: ''
6-
author: axayjo
6+
author: MicahMcKittrick-MSFT
77
manager: gwallace
88
editor: ''
99
tags: azure-resource-manager,azure-service-management
@@ -14,7 +14,7 @@ ms.workload: infrastructure-services
1414
ms.tgt_pltfrm: vm-linux
1515
ms.topic: article
1616
ms.date: 08/02/2017
17-
ms.author: akjosh
17+
ms.author: mimckitt
1818

1919
---
2020
# How to update the Azure Linux Agent on a VM
@@ -86,77 +86,6 @@ initctl restart walinuxagent
8686
systemctl restart walinuxagent.service
8787
```
8888

89-
## Debian
90-
91-
### Debian 7 “Wheezy”
92-
93-
#### Check your current package version
94-
95-
```bash
96-
dpkg -l | grep waagent
97-
```
98-
99-
#### Update package cache
100-
101-
```bash
102-
sudo apt-get -qq update
103-
```
104-
105-
#### Install the latest package version
106-
107-
```bash
108-
sudo apt-get install waagent
109-
```
110-
111-
#### Enable agent auto update
112-
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.
113-
114-
### Debian 8 “Jessie” / Debian 9 “Stretch”
115-
116-
#### Check your current package version
117-
118-
```bash
119-
apt list --installed | grep waagent
120-
```
121-
122-
#### Update package cache
123-
124-
```bash
125-
sudo apt-get -qq update
126-
```
127-
128-
#### Install the latest package version
129-
130-
```bash
131-
sudo apt-get install waagent
132-
```
133-
#### Ensure auto update is enabled
134-
135-
First, check to see if it is enabled:
136-
137-
```bash
138-
cat /etc/waagent.conf
139-
```
140-
141-
Find 'AutoUpdate.Enabled'. If you see this output, it is enabled:
142-
143-
```bash
144-
# AutoUpdate.Enabled=y
145-
AutoUpdate.Enabled=y
146-
```
147-
148-
To enable run:
149-
150-
```bash
151-
sudo sed -i 's/# AutoUpdate.Enabled=n/AutoUpdate.Enabled=y/g' /etc/waagent.conf
152-
```
153-
154-
### Restart the waagent service
155-
156-
```
157-
sudo systemctl restart walinuxagent.service
158-
```
159-
16089
## Red Hat / CentOS
16190

16291
### RHEL/CentOS 6

0 commit comments

Comments
 (0)