Created
November 25, 2014 10:17
-
-
Save marcodejongh/93103c059738662b2c26 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
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