Skip to content

Instantly share code, notes, and snippets.

@ariya

ariya/Vagrantfile

Last active Aug 29, 2015
Embed
What would you like to do?
Vagrantfile CentOS for PhantomJS 2
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.box = "centos"
config.vm.provision "shell",
inline: "yum -y update && yum -y install gcc gcc-c++ make flex bison gperf ruby openssl-devel freetype-devel fontconfig-devel libicu-devel sqlite-devel"
config.vm.provider "virtualbox" do |v|
v.customize ["modifyvm", :id, "--memory", 3072]
v.customize ["modifyvm", :id, "--cpus", 2]
v.customize ["modifyvm", :id, "--cpuexecutioncap", "90"]
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.