[macOS] Remove macOS 10.13 related code in the VE repo (#4494)

This commit is contained in:
Dibir Magomedsaygitov
2021-11-18 17:23:05 +03:00
committed by GitHub
parent bebaaa653c
commit 5ab1cb345e
19 changed files with 54 additions and 979 deletions

View File

@@ -82,10 +82,8 @@ try {
}
try {
if ($VMName -notmatch "10.13") {
Write-Host "Change CPU count to $CpuCount, cores count to $CoresPerSocketCount, amount of RAM to $Memory"
$vm | Set-VM -NumCPU $CpuCount -CoresPerSocket $CoresPerSocketCount -MemoryMB $Memory -Confirm:$false -ErrorAction Stop | Out-Null
}
Write-Host "Change CPU count to $CpuCount, cores count to $CoresPerSocketCount, amount of RAM to $Memory"
$vm | Set-VM -NumCPU $CpuCount -CoresPerSocket $CoresPerSocketCount -MemoryMB $Memory -Confirm:$false -ErrorAction Stop | Out-Null
} catch {
Write-Host "##vso[task.LogIssue type=error;]Failed to change specs for VM '$VMName'"
}