From 829a9c2c09cc145e183de1468fcff2f58639d5ca Mon Sep 17 00:00:00 2001 From: dkirby-ms Date: Thu, 13 Jun 2024 12:13:31 -0500 Subject: [PATCH 1/2] remove pindown --- azure_jumpstart_hcibox/bicep/host/host.bicep | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure_jumpstart_hcibox/bicep/host/host.bicep b/azure_jumpstart_hcibox/bicep/host/host.bicep index ebc6cbe2be..506998d48c 100644 --- a/azure_jumpstart_hcibox/bicep/host/host.bicep +++ b/azure_jumpstart_hcibox/bicep/host/host.bicep @@ -132,7 +132,7 @@ resource vm 'Microsoft.Compute/virtualMachines@2022-03-01' = { publisher: 'MicrosoftWindowsServer' offer: 'WindowsServer' sku: windowsOSVersion - version: '20348.2322.240207' + version: 'latest' } dataDisks: [ { From 9e6bdbb0c36d1961679957cf2a70d084d040ccb9 Mon Sep 17 00:00:00 2001 From: dkirby-ms Date: Thu, 13 Jun 2024 12:29:29 -0500 Subject: [PATCH 2/2] remove MTU setting --- .../artifacts/PowerShell/New-HCIBoxCluster.ps1 | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/azure_jumpstart_hcibox/artifacts/PowerShell/New-HCIBoxCluster.ps1 b/azure_jumpstart_hcibox/artifacts/PowerShell/New-HCIBoxCluster.ps1 index 24e7127aff..3bb92b5b13 100644 --- a/azure_jumpstart_hcibox/artifacts/PowerShell/New-HCIBoxCluster.ps1 +++ b/azure_jumpstart_hcibox/artifacts/PowerShell/New-HCIBoxCluster.ps1 @@ -624,7 +624,7 @@ function Set-NICs { Get-NetAdapter ((Get-NetAdapterAdvancedProperty | Where-Object {$_.DisplayValue -eq "SDN"}).Name) | Rename-NetAdapter -NewName FABRIC # Get-Netadapter ((Get-NetAdapterAdvancedProperty | Where-Object {$_.DisplayValue -eq "SDN2"}).Name) | Rename-NetAdapter -NewName FABRIC2 - # Enable CredSSP and MTU Settings + # Enable CredSSP Settings Invoke-Command -ComputerName localhost -Credential $using:Credential -ScriptBlock { $fqdn = $Using:HCIBoxConfig.SDNDomainFQDN @@ -722,11 +722,6 @@ function Set-FabricNetwork { New-NetIPAddress -IPAddress $internetIP -PrefixLength 24 -InterfaceIndex $internetIndex -DefaultGateway $internetGW -AddressFamily IPv4 | Out-Null Set-DnsClientServerAddress -InterfaceIndex $internetIndex -ServerAddresses ($HCIBoxConfig.natDNS) | Out-Null - # Enable Large MTU - Write-Host "Configuring MTU on all Adapters" - Get-NetAdapter | Where-Object { $_.Status -eq "Up" -and $_.Name -ne "Ethernet" } | Set-NetAdapterAdvancedProperty -RegistryValue $HCIBoxConfig.SDNLABMTU -RegistryKeyword "*JumboPacket" - Start-Sleep -Seconds 15 - # Provision Public and Private VIP Route New-NetRoute -DestinationPrefix $HCIBoxConfig.PublicVIPSubnet -NextHop $provGW -InterfaceAlias PROVIDER | Out-Null @@ -1112,10 +1107,7 @@ function New-RouterVM { # Add-BgpPeer @params -PassThru # } - # Enable Large MTU - Write-Host "Configuring MTU on all Adapters" - Get-NetAdapter | Where-Object { $_.Status -eq "Up" } | Set-NetAdapterAdvancedProperty -RegistryValue $HCIBoxConfig.SDNLABMTU -RegistryKeyword "*JumboPacket" - } + } } } @@ -1196,8 +1188,6 @@ function New-AdminCenterVM { Write-Host "Rename Network Adapter in $VMName" Get-NetAdapter | Rename-NetAdapter -NewName Fabric - Write-Host "Configuring MTU on all Adapters" - Get-NetAdapter | Where-Object { $_.Status -eq "Up" } | Set-NetAdapterAdvancedProperty -RegistryValue $HCIBoxConfig.SDNLABMTU -RegistryKeyword "*JumboPacket" # Set Gateway $index = (Get-WmiObject Win32_NetworkAdapter | Where-Object { $_.netconnectionid -eq "Fabric" }).InterfaceIndex