diff options
author | Duda Dornelles <ddornell@thoughtworks.com> | 2015-02-12 11:29:14 -0200 |
---|---|---|
committer | Duda Dornelles <ddornell@thoughtworks.com> | 2015-02-12 11:31:35 -0200 |
commit | 43037a80d49ccf4232f4d0b85091d1cfbf8a6f40 (patch) | |
tree | 56525b8dc06791f68d28bff30005ed95c2fe13bc /Vagrantfile | |
parent | b5113f807ccc97e171ab520307544792101ec425 (diff) |
Fixing port forwarding for vagrant
Diffstat (limited to 'Vagrantfile')
-rw-r--r-- | Vagrantfile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Vagrantfile b/Vagrantfile index e989c7e9..e55dca46 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -68,11 +68,11 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| config.vm.provider "libvirt" do |v, override| v.memory = 1024 - config.vm.network :forwarded_port, guest: 3333, guest_ip: '127.0.0.1', host: 3333 + override.vm.network :forwarded_port, guest: 3333, guest_ip: '127.0.0.1', host: 3333 end - config.vm.provider "virtualbox" do |v| + config.vm.provider "virtualbox" do |v, override| v.memory = 1024 - config.vm.network :forwarded_port, guest: 3333, host: 3333 # do NOT add host_ip in this line. It is not necessary + override.vm.network :forwarded_port, guest: 3333, host: 3333 # do NOT add host_ip in this line. It is not necessary end end |