[vcpkg] Resolve macos host machines running out of disk space by reducing size and using fixed disks. (#15584)

This commit is contained in:
Billy O'Neal 2021-01-12 12:19:22 -08:00 committed by GitHub
parent 94b9db927c
commit 8598a3d67d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -75,7 +75,7 @@ Param(
[String]$BoxName = 'vcpkg/macos-ci',
[Parameter()]
[Int]$DiskSize = 350,
[Int]$DiskSize = 250,
[Parameter()]
[Switch]$Force

View File

@ -50,7 +50,7 @@ Vagrant.configure('2') do |config|
# to do this. When vagrant finishes the `disk` feature, switch
# over to that -- Nicole Mazzuca
if (not File.exists? diskname) then
system "VBoxManage createmedium --filename #{diskname} --size #{1024 * server[:disk_size]}"
system "VBoxManage createmedium --filename #{diskname} --size #{1024 * server[:disk_size]} --variant Fixed"
end
config.vm.provider 'virtualbox' do |vb|