Skip to content

Commit

Permalink
Updated vagrant provisioning so mongodb binds to 0.0.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
shaunduncan committed Nov 25, 2014
1 parent c7cef85 commit d3e508a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Vagrantfile
Expand Up @@ -23,4 +23,8 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|

config.vm.provision "shell", inline: "sudo apt-get update -qq"
config.vm.provision "shell", inline: "sudo apt-get install -qqy --force-yes mongodb ngircd"

# Allow connections to the VM and restart mongo
config.vm.provision "shell", inline: "sudo sed -i -s 's/^bind_ip = 127.0.0.1/#bind_ip = 127.0.0.1/' /etc/mongodb.conf"
config.vm.provision "shell", inline: "sudo service mongodb restart"
end

0 comments on commit d3e508a

Please sign in to comment.