Skip to content

Instantly share code, notes, and snippets.

@ssbozy
Created August 14, 2015 07:04
Show Gist options
  • Save ssbozy/6fdfa958a5510a4d12ed to your computer and use it in GitHub Desktop.
Save ssbozy/6fdfa958a5510a4d12ed to your computer and use it in GitHub Desktop.
# -*- mode: ruby -*-
# vi: set ft=ruby :
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.box = "ubuntu/trusty64"
config.vm.network "public_network"
config.vm.provider "virtualbox" do |v|
v.name = "vagrant_ubuntu14.04"
v.memory = 2048
v.cpus = 2
end
config.vm.network "forwarded_port", guest: 27017, host: 5000
config.vm.network "forwarded_port", guest: 8047, host: 5001
config.vm.synced_folder "~/Downloads", "/data"
config.vm.provision :shell, :path => "bootstrap.sh"
end
@ssbozy
Copy link
Author

ssbozy commented Aug 14, 2015

Ubuntu 14.04 Vagrant file

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment