forked from shaunduncan/helga
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Vagrantfile
26 lines (20 loc) · 935 Bytes
/
Vagrantfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# -*- mode: ruby -*-
# vi: set ft=ruby :
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing!
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.box = "precise64"
config.vm.box_url = "http://files.vagrantup.com/precise64.box"
# Forward keys from SSH agent rather than copypasta
config.ssh.forward_agent = true
# FIXME: Might not even need this much
config.vm.provider "virtualbox" do |v|
v.customize ["modifyvm", :id, "--memory", "1024"]
end
# Forward ports for irc(6667) and mongo(27017)
config.vm.network :forwarded_port, guest: 6667, host: 6667
config.vm.network :forwarded_port, guest: 27017, host: 27017
config.vm.network :private_network, ip: "192.168.10.101"
config.vm.provision "shell", inline: "sudo apt-get update -qq"
config.vm.provision "shell", inline: "sudo apt-get install -qqy --force-yes mongodb ngircd"
end