Skip to content

Commit d6fe7a2

Browse files
committed
Updated the Proxy server setting for Linux
1 parent 2a0ff2c commit d6fe7a2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 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";
@@ -124,13 +124,13 @@ $settings = @{
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)