Skip to content

Commit

Permalink
fix issue with lnet for AKS
Browse files Browse the repository at this point in the history
  • Loading branch information
dkirby-ms committed Mar 26, 2024
1 parent 3f5e0ee commit dbb0e42
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ Invoke-Command -ComputerName "$($HCIBoxConfig.NodeHostConfig[0].Hostname).$($HCI
$dnsServers = $HCIBoxConfig.AKSDNSIP
$vlanid = $HCIBoxConfig.AKSVLAN

az stack-hci-vm network lnet create --subscription $using:subId --resource-group $using:rg --custom-location $customLocationID --location $using:location --name $using:lnetName --vm-switch-name $switchName --ip-allocation-method "static" --address-prefixes $addressPrefixes --gateway $gateway --dns-servers $dnsServers --vlan $vlanid
az stack-hci-vm network lnet create --subscription $using:subId --resource-group $using:rg --custom-location $customLocationID --location $using:location --name $using:lnetName --vm-switch-name $switchName --ip-allocation-method "static" --ip-pool-start $HCIBoxConfig.AKSNodeStartIP --ip-pool-end $HCIBoxConfig.AKSNodeEndIP --address-prefixes $addressPrefixes --gateway $gateway --dns-servers $dnsServers --vlan $vlanid
}
$WarningPreference = "SilentlyContinue"
$ErrorActionPreference = "Continue"
Expand Down

0 comments on commit dbb0e42

Please sign in to comment.