Last active
January 3, 2016 21:19
-
-
Save rumkin/8521223 to your computer and use it in GitHub Desktop.
Default precise32 based vagrant box configuration
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- 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| | |
# Machine name | |
config.vm.define "boxname" | |
# Vagrant box | |
config.vm.box = "precise32" | |
# Box url | |
config.vm.box_url = "http://files.vagrantup.com/precise32.box" | |
# Network port forwarding | |
config.vm.network :forwarded_port, guest: 80, host: 48888 | |
# Share projects folder | |
config.vm.synced_folder "./projects", "/var/projects", mount_options: ["dmode=777", "fmode=777"] | |
# Box provision | |
config.vm.provision "shell", path: "./provision/install.sh" | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment