]> khamidou — GitHub mirrors - vagrant-rails.git/commitdiff
point to host port
authorkarim hamidou <khamidou@gmail.com>
Thu, 20 Feb 2014 18:09:57 +0000 (19:09 +0100)
committerkarim hamidou <khamidou@gmail.com>
Thu, 20 Feb 2014 18:09:57 +0000 (19:09 +0100)
Vagrantfile

index 8576217bed58a489a4dfc5acaf72588514d6c65c..8d42f4f4d236e163bfe1037b9fb05e21298ea3e8 100644 (file)
@@ -7,4 +7,6 @@ VAGRANTFILE_API_VERSION = "2"
 Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
   config.vm.box = "precise32"
   config.vm.provision "shell", path: "provision.sh"
+  config.vm.network "private_network", ip: "192.168.50.4"
+  config.vm.network "forwarded_port", guest: 80, host: 8080
 end