Skip to content

Commit e9d0fce

Browse files
Merge pull request #232421 from divargas-msft/patch-2
[Doc-a-thon] Updating diagnostics-linux
2 parents 5571fea + 9261288 commit e9d0fce

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

articles/virtual-machines/extensions/diagnostics-linux.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ Supported distributions and versions:
7575

7676
* **Azure Linux agent version 2.2.0 or later**. Most Azure VM Linux gallery images include version 2.2.7 or later. Run `/usr/sbin/waagent -version` to confirm the version installed on the VM. If the VM is running an older version of the guest agent, [update the Linux agent](./update-linux-agent.md).
7777
* **Azure CLI**. [Set up the Azure CLI](/cli/azure/install-azure-cli) environment on your machine.
78-
* **The `wget` command**. If you don't already have it, run `sudo apt-get install wget`.
78+
* **The `wget` command**. If you don't already have it, install it using the corresponding package manager.
7979
* **An Azure subscription and general purpose storage account** to store the data. General purpose storage accounts support table storage, which is required. A blob storage account won't work.
8080
* **Python 2**.
8181

@@ -97,13 +97,13 @@ The `python2` executable file must be aliased to *python*. Here's one way to ach
9797

9898
1. Run the following command to remove any existing aliases.
9999

100-
```
100+
```bash
101101
sudo update-alternatives --remove-all python
102102
```
103103

104104
2. Run the following command to create the new alias.
105105

106-
```
106+
```bash
107107
sudo update-alternatives --install /usr/bin/python python /usr/bin/python2 1
108108
```
109109

@@ -280,6 +280,7 @@ The latest version of the extension is 4.0, *which is currently in public previe
280280
> To migrate from 3.x to the newest version of the extension, uninstall the old extension. Then install version 4, which includes the updated configuration for system-assigned identity and sinks for sending metrics to the Azure Monitor sink.
281281
282282
When you install the new extension, enable automatic minor version upgrades:
283+
283284
* On Azure Resource Manager deployment model VMs, include `"autoUpgradeMinorVersion": true` in the VM deployment template.
284285
* On classic deployment model VMs, specify version `4.*` if you're installing the extension through the Azure CLI or PowerShell.
285286

0 commit comments

Comments
 (0)