Skip to content

Instantly share code, notes, and snippets.

@martinbaillie
Created January 2, 2016 05:22
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save martinbaillie/13d8fbdd2f585630c4de to your computer and use it in GitHub Desktop.
Save martinbaillie/13d8fbdd2f585630c4de to your computer and use it in GitHub Desktop.
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure(2) do |config|
config.vm.box = "jhcook/osx-elcapitan-10.11"
config.vm.provider "virtualbox" do |vb|
vb.gui = true
vb.name = "osx-el-capitan"
vb.memory = "4096"
# Switch to EFI
vb.customize ["modifyvm", :id, "--firmware", "efi"]
# Enable GOP (Graphics Output Protocol and switch to 1920x1200
# 0,1,2,3,4,5 refers to 640x480,800x600,1024x768,1280x1024,1440x900,1920x1200
vb.customize ["setextradata", :id, "VBoxInternal2/EfiGopMode", "5"]
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment