mirror of
https://github.com/Microsoft/sql-server-samples.git
synced 2025-12-08 14:58:54 +00:00
Merge pull request #1297 from zoran-rilak-msft/patch-6
Increase GW subnet size to account for ZR
This commit is contained in:
+1
-1
@@ -239,7 +239,7 @@ $gatewaySubnetName = "GatewaySubnet"
|
||||
|
||||
If ($false -eq $subnets.Contains($gatewaySubnetName)) {
|
||||
Write-Host "$gatewaySubnetName is not one of the subnets in $subnets" -ForegroundColor Yellow
|
||||
$gatewaySubnetPrefix = CalculateNextAddressPrefix $virtualNetwork 28
|
||||
$gatewaySubnetPrefix = CalculateNextAddressPrefix $virtualNetwork 27
|
||||
Write-Host "Creating subnet $gatewaySubnetName ($gatewaySubnetPrefix) in the virtual network ..." -ForegroundColor Green
|
||||
|
||||
$virtualNetwork.AddressSpace.AddressPrefixes.Add($gatewaySubnetPrefix)
|
||||
|
||||
Reference in New Issue
Block a user