summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2017-05-21 23:29:34 +0200
committervarac <varacanero@zeromail.org>2017-05-23 11:35:36 +0200
commit9be35a2aaee59f8d78b620a5b1f02ea08ec3bc78 (patch)
tree379821251d5860865a0630aa814c5fa50eb2ed89 /tests
parent61252fe74c8ec3668af551fb0b0b91f1bfa4705a (diff)
[vagrant] Use private networking for direct acces
Without private networking, the box cannot get directly accessed, only via port forwardings. https://www.vagrantup.com/docs/networking/private_network.html - Resolves: #7769
Diffstat (limited to 'tests')
-rw-r--r--tests/example-provider/Vagrantfile4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/example-provider/Vagrantfile b/tests/example-provider/Vagrantfile
index 1e410f5e..e909e79b 100644
--- a/tests/example-provider/Vagrantfile
+++ b/tests/example-provider/Vagrantfile
@@ -42,6 +42,10 @@ Vagrant.configure("2") do |config|
config.ssh.username = "vagrant"
+ # Enable private networking so the box can be accessed directly,
+ # not only via port forwaring
+ config.vm.network "private_network", type: "dhcp"
+
# forward leap_web ports
config.vm.network "forwarded_port", guest: 443, host:4443
# forward pixelated ports