Skip to content
This repository has been archived by the owner on Sep 6, 2022. It is now read-only.

Commit

Permalink
Code style fixes (#926)
Browse files Browse the repository at this point in the history
  • Loading branch information
KrauseFx authored and snatchev committed May 24, 2018
1 parent 1c5fd3d commit 5071fde
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions Vagrantfile
Expand Up @@ -6,18 +6,18 @@ 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
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"
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.network("private_network", ip: "192.168.33.10")

config.vm.provider "virtualbox" do |vb|
config.vm.provider("virtualbox") do |vb|
# Hide the VirtualBox GUI when booting the machine
vb.gui = false

Expand All @@ -27,16 +27,16 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|

# 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"]
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"]
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
config.vm.provision("shell",
path: "./vagrant-provision.sh",
privileged: false)
end

0 comments on commit 5071fde

Please sign in to comment.