aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorBilly O'Neal <bion@microsoft.com>2021-01-12 12:19:22 -0800
committerGitHub <noreply@github.com>2021-01-12 12:19:22 -0800
commit8598a3d67db0ad1f662358508acec0fc49f2b0a4 (patch)
tree0fbf8b1b39e1a8f547a80f350181252f5b727517 /scripts
parent94b9db927c33e0e6ec358893f29ddbc49423cac0 (diff)
downloadvcpkg-8598a3d67db0ad1f662358508acec0fc49f2b0a4.tar.gz
vcpkg-8598a3d67db0ad1f662358508acec0fc49f2b0a4.zip
[vcpkg] Resolve macos host machines running out of disk space by reducing size and using fixed disks. (#15584)
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/azure-pipelines/osx/Setup-VagrantMachines.ps12
-rw-r--r--scripts/azure-pipelines/osx/configuration/Vagrantfile2
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 4e675660c..c44858044 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 f5ff39ff3..08c472fe6 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|