Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
43 lines (33 sloc) 1.46 KB
# -*- mode: ruby -*-
# vi: set ft=ruby :
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.box = "monsenso/macos-10.13"
config.vm.box_version = "1.0.0"
config.vm.network("forwarded_port", guest: 8080, host: 8080)
# Sync the fastlane-ci folder to the guest VM. The type of the synced folder
# has to be rsync or nfs, because BSD-based guests do not support the
# VirtualBox filesystem at this time.
config.vm.synced_folder(".", "/fastlane-ci", type: "nfs")
# NFS requires a host-only network to be created in order to work. This
# requires admin password every time you run `vagrant up`.
config.vm.network("private_network", ip: "192.168.33.10")
config.vm.provider("virtualbox") do |vb|
# Hide the VirtualBox GUI when booting the machine
vb.gui = false
# Customize the amount of CPUs and memory of the VM
vb.memory = "8192"
vb.cpus = 1
# No matter how much CPU is used in the VM, no more than 50% should be used
# on the host machine
vb.customize(["modifyvm", :id, "--cpuexecutioncap", "50"])
# Because the USB 2.0 controller state is part of the saved VM state, the
# VM cannot be started with USB 2.0 support on.
vb.customize(["modifyvm", :id, "--usb", "on"])
vb.customize(["modifyvm", :id, "--usbehci", "off"])
end
# Bootstrap the VM
config.vm.provision("shell",
path: "./vagrant-provision.sh",
privileged: false)
end
You can’t perform that action at this time.