summaryrefslogtreecommitdiff
path: root/tests/example-provider/Vagrantfile
diff options
context:
space:
mode:
authorkwadronaut <kwadronaut@leap.se>2017-05-23 16:20:26 +0200
committerkwadronaut <kwadronaut@leap.se>2017-05-23 16:20:55 +0200
commit0e09968d8ed3f245a238306de43a037d0749fd5a (patch)
tree165d49dfb17d115dbb649ffe669064f2042bb527 /tests/example-provider/Vagrantfile
parent26be1f84de9efabf5fec1278401ae0c5538454d9 (diff)
parent40f7b49003594a1be8c0540a92292d7cfb63eb61 (diff)
Merge branch 'varac/platform-vagrant_private_networking'
Diffstat (limited to 'tests/example-provider/Vagrantfile')
-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