mirror of
https://github.com/actions/runner-images.git
synced 2025-12-15 22:26:56 +00:00
[Mac OS] Temporary disable VNC for Mac OS 14 (#8717)
This commit is contained in:
committed by
GitHub
parent
50803a9ecd
commit
586dfe6911
@@ -182,6 +182,12 @@ Write-Host "`n[#2] Create a VM template:"
|
||||
Write-Host "`t[*] Deleting existed template with name '$TemplateName' before creating a new one"
|
||||
Remove-AnkaVM -VMName $TemplateName
|
||||
|
||||
# Temporary disable VNC for macOS 14
|
||||
# It's probably Anka's bug fixed in 3.3.2
|
||||
if ($shortMacOSVersion -eq "14") {
|
||||
$env:ANKA_CREATE_VNC = 0
|
||||
}
|
||||
|
||||
Write-Host "`t[*] Creating Anka VM template with name '$TemplateName' and '$TemplateUsername' user"
|
||||
Write-Host "`t[*] CPU Count: $CPUCount, RamSize: ${RamSizeGb}G, DiskSizeGb: ${DiskSizeGb}G, InstallerPath: $macOSInstaller, TemplateName: $TemplateName"
|
||||
New-AnkaVMTemplate -InstallerPath "$macOSInstaller" `
|
||||
|
||||
Reference in New Issue
Block a user