From 8598a3d67db0ad1f662358508acec0fc49f2b0a4 Mon Sep 17 00:00:00 2001 From: Billy O'Neal Date: Tue, 12 Jan 2021 12:19:22 -0800 Subject: [PATCH] [vcpkg] Resolve macos host machines running out of disk space by reducing size and using fixed disks. (#15584) --- scripts/azure-pipelines/osx/Setup-VagrantMachines.ps1 | 2 +- scripts/azure-pipelines/osx/configuration/Vagrantfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/azure-pipelines/osx/Setup-VagrantMachines.ps1 b/scripts/azure-pipelines/osx/Setup-VagrantMachines.ps1 index 4e675660cb11b3..c44858044164b3 100755 --- a/scripts/azure-pipelines/osx/Setup-VagrantMachines.ps1 +++ b/scripts/azure-pipelines/osx/Setup-VagrantMachines.ps1 @@ -75,7 +75,7 @@ Param( [String]$BoxName = 'vcpkg/macos-ci', [Parameter()] - [Int]$DiskSize = 350, + [Int]$DiskSize = 250, [Parameter()] [Switch]$Force diff --git a/scripts/azure-pipelines/osx/configuration/Vagrantfile b/scripts/azure-pipelines/osx/configuration/Vagrantfile index f5ff39ff394af4..08c472fe6d6bd7 100644 --- a/scripts/azure-pipelines/osx/configuration/Vagrantfile +++ b/scripts/azure-pipelines/osx/configuration/Vagrantfile @@ -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|