Skip to content

Commit 29f1f1a

Browse files
Merge pull request #226382 from SnehaSudhirG/06Feb-HRWDocupdate
Updated the Proxy server setting for Linux
2 parents 6e0b067 + db50f59 commit 29f1f1a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

articles/automation/extension-based-hybrid-runbook-worker-install.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ If you use a proxy server for communication between Azure Automation and machine
8989

9090
```azurepowershell-interactive
9191
$settings = @{
92-
"AutomationAccountURL" = "<registrationurl>/<subscription-id>";
92+
"AutomationAccountURL" = "<registrationurl>";
9393
"ProxySettings" = @{
9494
"ProxyServer" = "<ipaddress>:<port>";
9595
"UserName"="test";
@@ -118,19 +118,19 @@ $protectedsettings = @{
118118
"Proxy_URL"="http://username:password@<IP Address>"
119119
};
120120
$settings = @{
121-
"AutomationAccountURL" = "<registration-url>/<subscription-id>";
121+
"AutomationAccountURL" = "<registration-url>";
122122
};
123123
```
124124
**Azure VMs**
125125

126126
```powershell
127-
Set-AzVMExtension -ResourceGroupName <VMResourceGroupName> -Location <VMLocation> -VMName <VMName> -Name "HybridWorkerExtension" -Publisher "Microsoft.Azure.Automation.HybridWorker" -ExtensionType HybridWorkerForLinux -TypeHandlerVersion 0.1 -Settings $settings
127+
Set-AzVMExtension -ResourceGroupName <VMResourceGroupName> -Location <VMLocation> -VMName <VMName> -Name "HybridWorkerExtension" -Publisher "Microsoft.Azure.Automation.HybridWorker" -ExtensionType HybridWorkerForLinux TypeHandlerVersion 1.1 -Settings $settings -EnableAutomaticUpgrade $true
128128
```
129129

130130
**Azure Arc-enabled VMs**
131131

132132
```powershell
133-
New-AzConnectedMachineExtension -ResourceGroupName <VMResourceGroupName> -Location <VMLocation> -MachineName <VMName> -Name "HybridWorkerExtension" -Publisher "Microsoft.Azure.Automation.HybridWorker" -ExtensionType HybridWorkerForLinux -TypeHandlerVersion 0.1 -Setting $settings -NoWait
133+
New-AzConnectedMachineExtension -ResourceGroupName <VMResourceGroupName> -Location <VMLocation> -MachineName <VMName> -Name "HybridWorkerExtension" -Publisher "Microsoft.Azure.Automation.HybridWorker" -ExtensionType HybridWorkerForLinux -TypeHandlerVersion 1.1 -Setting $settings -EnableAutomaticUpgrade $true
134134
```
135135

136136
---

0 commit comments

Comments
 (0)