Last active
August 29, 2015 14:25
-
-
Save emarref/c7c99703000f1157239c to your computer and use it in GitHub Desktop.
Simple Vagrantfile that you can drop in any dir and boot up an Ubuntu server with `vagrant up`.
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 : | |
Vagrant.configure(2) do |config| | |
config.vm.box = "ubuntu/trusty64" | |
config.vm.network "private_network", ip: "192.168.33.10" | |
config.vm.synced_folder ".", "/var/www", type: "nfs" | |
config.vm.provider "virtualbox" do |vb| | |
vb.memory = "1024" | |
end | |
# Uncomment the following block to add provisioning run as root | |
# config.vm.provision "shell", inline: <<-SHELL | |
# apt-get update | |
# apt-get install -y git | |
# SHELL | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment