Skip to content

Instantly share code, notes, and snippets.

@jahvi
Last active September 6, 2015 14:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jahvi/269e0da1a1b7d2736356 to your computer and use it in GitHub Desktop.
Save jahvi/269e0da1a1b7d2736356 to your computer and use it in GitHub Desktop.
Basic Vagrantfile
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure(2) do |config|
# OS to install on VM
config.vm.box = "ubuntu/trusty64"
# IP to access VM
config.vm.network "private_network", ip: "192.168.33.10"
# Sync current directory to "/var/www" directory on the VM
config.vm.synced_folder ".", "/var/www"
config.vm.provider "virtualbox" do |vb|
# Customize the amount of memory on the VM
vb.memory = "1024"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment