[macos] use mist-cli for downloading OS distribution when generating anka clean vm (#8141)

This commit is contained in:
ilia-shipitsin
2023-08-24 15:15:31 +02:00
committed by GitHub
parent 862df58673
commit 5ff59cadc4
2 changed files with 5 additions and 12 deletions

View File

@@ -180,7 +180,7 @@ Remove-AnkaVM -VMName $TemplateName
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 `
New-AnkaVMTemplate -InstallerPath "$macOSInstaller" `
-TemplateName $TemplateName `
-TemplateUsername $TemplateUsername `
-TemplatePassword $TemplatePassword `