Skip to content

Instantly share code, notes, and snippets.

@marcodejongh
Created November 25, 2014 10:17
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 marcodejongh/93103c059738662b2c26 to your computer and use it in GitHub Desktop.
Save marcodejongh/93103c059738662b2c26 to your computer and use it in GitHub Desktop.
Vagrant.configure("2") do |config|
config.vm.box = "trusty"
config.vm.box_url = "https://cloud-images.ubuntu.com/vagrant/trusty/trusty-server-cloudimg-amd64-juju-vagrant-disk1.box"
# we’ll forward the port 8000 from the VM to the port 8000 on the host (OS X)
config.vm.network :forwarded_port, host: 8000, guest: 8000
#config.vm.synced_folder("vagrant-docker", "/vagrant")
config.vm.provider :virtualbox do |vb|
# vb.gui = true
# Use VBoxManage to customize the VM. For example to change memory:
vb.customize ["modifyvm", :id, "--memory", "2048"]
end
config.vm.network :forwarded_port, guest: 4445, host: 4444
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment