diff options
author | varac <varacanero@zeromail.org> | 2017-05-21 23:29:34 +0200 |
---|---|---|
committer | varac <varacanero@zeromail.org> | 2017-05-23 11:35:36 +0200 |
commit | 9be35a2aaee59f8d78b620a5b1f02ea08ec3bc78 (patch) | |
tree | 379821251d5860865a0630aa814c5fa50eb2ed89 /tests | |
parent | 61252fe74c8ec3668af551fb0b0b91f1bfa4705a (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/Vagrantfile | 4 |
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 |