Skip to content

Commit

Permalink
Reverted temporary memory bump on Chicago VM
Browse files Browse the repository at this point in the history
Signed-off-by: Jan Egil Ring <janegilring@microsoft.com>
  • Loading branch information
janegilring committed Oct 24, 2023
1 parent ab3af55 commit 6508fdc
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions azure_jumpstart_ag/artifacts/PowerShell/AgLogonScript.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -626,23 +626,13 @@ foreach ($site in $AgConfig.SiteConfig.GetEnumerator()) {
# Create a new virtual machine and attach the existing virtual hard disk
Write-Host "[$(Get-Date -Format t)] INFO: Creating and configuring $($site.Name) virtual machine." -ForegroundColor Gray

if ($site.Name -eq "Chicago") {
New-VM -Name $site.Name `
-Path $destPath `
-MemoryStartupBytes 51GB `
-BootDevice VHD `
-VHDPath $destVhdxPath `
-Generation 2 `
-Switch $AgConfig.L1SwitchName | Out-File -Append -FilePath ($AgConfig.AgDirectories["AgLogsDir"] + "\L1Infra.log")
} else {
New-VM -Name $site.Name `
-Path $destPath `
-MemoryStartupBytes $AgConfig.L1VMMemory `
-BootDevice VHD `
-VHDPath $destVhdxPath `
-Generation 2 `
-Switch $AgConfig.L1SwitchName | Out-File -Append -FilePath ($AgConfig.AgDirectories["AgLogsDir"] + "\L1Infra.log")
}

# Set up the virtual machine before coping all AKS Edge Essentials automation files
Set-VMProcessor -VMName $site.Name `
Expand Down

0 comments on commit 6508fdc

Please sign in to comment.