From dbb0e4276109322f6c701f5a782ead7f94327de0 Mon Sep 17 00:00:00 2001 From: dkirby-ms Date: Tue, 26 Mar 2024 10:25:37 -0500 Subject: [PATCH] fix issue with lnet for AKS --- .../artifacts/PowerShell/Configure-AKSWorkloadCluster.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure_jumpstart_hcibox/artifacts/PowerShell/Configure-AKSWorkloadCluster.ps1 b/azure_jumpstart_hcibox/artifacts/PowerShell/Configure-AKSWorkloadCluster.ps1 index e5f5ffe0d5..f5b0f87eb5 100644 --- a/azure_jumpstart_hcibox/artifacts/PowerShell/Configure-AKSWorkloadCluster.ps1 +++ b/azure_jumpstart_hcibox/artifacts/PowerShell/Configure-AKSWorkloadCluster.ps1 @@ -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"