diff options
author | kwadronaut <kwadronaut@leap.se> | 2017-05-23 16:20:26 +0200 |
---|---|---|
committer | kwadronaut <kwadronaut@leap.se> | 2017-05-23 16:20:55 +0200 |
commit | 0e09968d8ed3f245a238306de43a037d0749fd5a (patch) | |
tree | 165d49dfb17d115dbb649ffe669064f2042bb527 /tests/example-provider/Vagrantfile | |
parent | 26be1f84de9efabf5fec1278401ae0c5538454d9 (diff) | |
parent | 40f7b49003594a1be8c0540a92292d7cfb63eb61 (diff) |
Merge branch 'varac/platform-vagrant_private_networking'
Diffstat (limited to 'tests/example-provider/Vagrantfile')
-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 |