Skip to content

Commit

Permalink
[vcpkg] Resolve macos host machines running out of disk space by redu…
Browse files Browse the repository at this point in the history
…cing size and using fixed disks. (#15584)
  • Loading branch information
BillyONeal committed Jan 12, 2021
1 parent 94b9db9 commit 8598a3d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scripts/azure-pipelines/osx/Setup-VagrantMachines.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ Param(
[String]$BoxName = 'vcpkg/macos-ci',

[Parameter()]
[Int]$DiskSize = 350,
[Int]$DiskSize = 250,

[Parameter()]
[Switch]$Force
Expand Down
2 changes: 1 addition & 1 deletion scripts/azure-pipelines/osx/configuration/Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -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|
Expand Down

0 comments on commit 8598a3d

Please sign in to comment.