Skip to content

Commit 621bae8

Browse files
Merge pull request #17254 from CristianEdwards/ArcgwUpdates
Arc gw minor updates
2 parents ff71eaa + ceecd9a commit 621bae8

File tree

2 files changed

+12
-3
lines changed

2 files changed

+12
-3
lines changed

azure-local/deploy/deployment-azure-arc-gateway-configure-manually.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,15 @@ $ProxyServer = "http://x.x.x.x:port"
6161
6262
$ArcgwId = "/subscriptions/yoursubscription/resourceGroups/yourresourcegroupname/providers/Microsoft.HybridCompute/gateways/yourarcgatewayname"
6363
64+
#Define the bypass list for the proxy. Use comma to separate each item from the list.
65+
# Use "localhost" instead of <local>
66+
# Use specific IPs such as 127.0.0.1 without mask
67+
# Use * for subnets allowlisting. 192.168.1.* for /24 exclusions. Use 192.168.*.* for /16 exclusions.
68+
# Append * for domain names exclusions like *.contoso.com
69+
# DO NOT INCLUDE .svc on the list. The registration script takes care of Environment Variables configuration.
70+
71+
$ProxyBypassList = "localhost,127.0.0.1,*.contoso.com,machine1,machine2,machine3,machine4,machine5,192.168.*.*,AzureLocal-1"
72+
6473
#Connect to your Azure account and subscription
6574
6675
Connect-AzAccount -SubscriptionId $Subscription -TenantId $Tenant -DeviceCode
@@ -75,7 +84,7 @@ $id = (Get-AzContext).Account.Id
7584
7685
#Invoke the registration script with Proxy and ArcgatewayID
7786
78-
Invoke-AzStackHciArcInitialization -SubscriptionID $Subscription -ResourceGroup $RG -TenantID $Tenant -Region australiaeast -Cloud "AzureCloud" -ArmAccessToken $ARMtoken -AccountID $id -Proxy $ProxyServer -ArcGatewayID $ArcgwId
87+
Invoke-AzStackHciArcInitialization -SubscriptionID $Subscription -ResourceGroup $RG -TenantID $Tenant -Region australiaeast -Cloud "AzureCloud" -ArmAccessToken $ARMtoken -AccountID $id -Proxy $ProxyServer -ProxyBypass $ProxyBypassList -ArcGatewayID $ArcgwId
7988
```
8089

8190
## Step 4: Start Azure Local cloud deployment

azure-local/deploy/deployment-azure-arc-gateway-configure-via-script.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,14 +55,14 @@ $ProxyServer = "http://x.x.x.x:port"
5555
#Define the Arc gateway resource ID from Azure
5656
$ArcgwId = "/subscriptions/yourarcgatewayid/resourceGroups/yourresourcegroupname/providers/Microsoft.HybridCompute/gateways/yourarcgatewayname"
5757
58-
#Define the bypass list for the proxy. Use semicolon to separate each item from the list.
58+
#Define the bypass list for the proxy. Use comma to separate each item from the list.
5959
# Use "localhost" instead of <local>
6060
# Use specific IPs such as 127.0.0.1 without mask
6161
# Use * for subnets allowlisting. 192.168.1.* for /24 exclusions. Use 192.168.*.* for /16 exclusions.
6262
# Append * for domain names exclusions like *.contoso.com
6363
# DO NOT INCLUDE .svc on the list. The registration script takes care of Environment Variables configuration.
6464
65-
$ProxyBypassList = "localhost;127.0.0.1;*.contoso.com;machine1;machine2;machine3;machine4;machine5;192.168.*.*;AzureLocal-1"
65+
$ProxyBypassList = "localhost,127.0.0.1,*.contoso.com,machine1,machine2,machine3,machine4,machine5,192.168.*.*,AzureLocal-1"
6666
6767
#Connect to your Azure account and Subscription
6868
Connect-AzAccount -SubscriptionId $Subscription -TenantId $Tenant -DeviceCode

0 commit comments

Comments
 (0)