Skip to content

Instantly share code, notes, and snippets.

@k12u
Last active August 29, 2015 14:00
Show Gist options
  • Save k12u/4a1f9138023716c80224 to your computer and use it in GitHub Desktop.
Save k12u/4a1f9138023716c80224 to your computer and use it in GitHub Desktop.
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.box = "base"
config.vm.box_url = "http://opscode-vm-bento.s3.amazonaws.com/vagrant/virtualbox/opscode_centos-6.5_chef-provisionerless.box"
config.vm.network "forwarded_port", guest: 80, host: 8080
config.vm.network "private_network", ip: "192.168.33.10"
config.vm.synced_folder ".", "/var/www/html"
config.vm.provider "virtualbox" do |vb|
vb.customize ["modifyvm", :id, "--memory", "1024"]
vb.customize ["modifyvm", :id, "--cpus", "2"]
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment