mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-14 14:47:58 +08:00
[vcpkg] Resolve macos host machines running out of disk space by reducing size and using fixed disks. (#15584)
This commit is contained in:
parent
94b9db927c
commit
8598a3d67d
@ -75,7 +75,7 @@ Param(
|
||||
[String]$BoxName = 'vcpkg/macos-ci',
|
||||
|
||||
[Parameter()]
|
||||
[Int]$DiskSize = 350,
|
||||
[Int]$DiskSize = 250,
|
||||
|
||||
[Parameter()]
|
||||
[Switch]$Force
|
||||
|
@ -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|
|
||||
|
Loading…
x
Reference in New Issue
Block a user