Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

19 lines (15 sloc) 0.78 kB
Vagrant::Config.run do |config|
config.vm.box = "lucid64"
config.vm.host_name = "barkeep-vagrant"
config.vm.box_url = "http://files.vagrantup.com/lucid64.box"
config.vm.provision :shell, :inline =>
"sudo mkdir -p /root/.ssh && sudo cp /home/vagrant/.ssh/authorized_keys /root/.ssh/"
# Forward a port from the guest to the host, which allows for outside
# computers to access the VM, whereas host only networking does not.
config.vm.forward_port 80, 8080
# More memory than the default, since we're running a lot of stuff (1GB)
config.vm.customize ["modifyvm", :id, "--memory", 1024]
# Have ssh be accessible through port 2250. Hard coding this so we don't collide with other vagrant vms.
config.vm.forward_port 22, 2250
config.ssh.port = 2250
end
Jump to Line
Something went wrong with that request. Please try again.