Skip to content

Instantly share code, notes, and snippets.

@juizmill
Created June 28, 2014 20:16
Show Gist options
  • Select an option

  • Save juizmill/a1a43076dd3018c32a4b to your computer and use it in GitHub Desktop.

Select an option

Save juizmill/a1a43076dd3018c32a4b to your computer and use it in GitHub Desktop.
Vagrantfile
# -*- mode: ruby -*-
# vi: set ft=ruby :
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing!
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.box = "hashicorp/precise64"
config.vm.provision :shell, :path => "bootstrap.sh"
config.vm.network :forwarded_port, host: 8080, guest: 80
config.vm.synced_folder ".", "/vagrant", type: "nfs"
config.vm.network "private_network", ip: "10.0.1.10"
config.vm.provider :virtualbox do |virtualbox|
virtualbox.customize ["modifyvm", :id, "--memory", "512"]
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment