Skip to content

Instantly share code, notes, and snippets.

@amiroff
Last active December 31, 2015 10:59
Show Gist options
  • Save amiroff/7976577 to your computer and use it in GitHub Desktop.
Save amiroff/7976577 to your computer and use it in GitHub Desktop.
Vagrantfile example using Raring Ringtale and LAMP provisioning script
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.provider "virtualbox" do |v|
v.memory = 256
end
config.vm.box = "precise32"
config.vm.box_url = "http://files.vagrantup.com/precise32.box"
config.vm.synced_folder "./" , "/vagrant/", :mount_options => ["dmode=777", "fmode=666"]
config.vm.provision :shell, :path => "https://gist.github.com/amiroff/7976592/raw/lamp.sh"
#config.vm.network :forwarded_port, guest: 80, host: 8080
#config.vm.network :forwarded_port, guest: 3306, host: 3306
config.vm.network :private_network, ip: "192.168.33.10"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment