Skip to content

Commit 5961c09

Browse files
authored
Merge pull request #108080 from lanicolas/patch-40
Changed to align wit bash style guide
2 parents 29e8cc8 + 22c46bd commit 5961c09

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

articles/azure-arc/servers/plan-evaluate-on-azure-virtual-machine.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,11 +56,11 @@ When Azure Arc-enabled servers is configured on the VM, you see two representati
5656
For Linux, run the following commands:
5757

5858
```bash
59-
current_hostname=$(hostname)
59+
CURRENT_HOSTNAME=$(hostname)
6060
sudo service walinuxagent stop
6161
sudo waagent -deprovision -force
6262
sudo rm -rf /var/lib/waagent
63-
sudo hostnamectl set-hostname $current_hostname
63+
sudo hostnamectl set-hostname $CURRENT_HOSTNAME
6464
```
6565

6666
3. Block access to the Azure IMDS endpoint.

0 commit comments

Comments
 (0)