Skip to content

Commit f5a2dc0

Browse files
Merge pull request #231970 from KrishnaG-MSFT/patch-277
(AzureCXP) MicrosoftDocs/azure-docs#107143
2 parents b39ce20 + a5c6e86 commit f5a2dc0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

articles/automation/troubleshoot/update-agent-issues-linux.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ As they are the directories of workspaces, the number of directories equals the
103103
To fix the issue, run the following command:
104104

105105
```
106-
sudo su omsagent -c python /opt/microsoft/omsconfig/Scripts/PerformRequiredConfigurationChecks.py
106+
sudo su omsagent -c 'python /opt/microsoft/omsconfig/Scripts/PerformRequiredConfigurationChecks.py'
107107
```
108108

109109
This command forces the omsconfig agent to talk to Azure Monitor and retrieve the latest configuration.
@@ -132,7 +132,7 @@ Update Management downloads Hybrid Runbook Worker packages from the operations e
132132
To fix this issue, run the following command:
133133

134134
```
135-
sudo su omsagent -c python /opt/microsoft/omsconfig/Scripts/PerformRequiredConfigurationChecks.py
135+
sudo su omsagent -c 'python /opt/microsoft/omsconfig/Scripts/PerformRequiredConfigurationChecks.py'
136136
```
137137

138138
This command forces the omsconfig agent to talk to Azure Monitor and retrieve the latest configuration.

0 commit comments

Comments
 (0)