Default Port Forwarding to All Host Addresses

Change the default scope of port forwarding from localhost to all host
devices.
This commit is contained in:
Matthew Andersen
2018-05-21 22:33:18 -07:00
parent 39f9a9d0b4
commit 24b12af31a

View File

@@ -54,7 +54,7 @@ module VagrantPlugins
ssh_pid = redirect_port(
@env[:machine],
fp[:host_ip] || 'localhost',
fp[:host_ip] || '*',
fp[:host],
fp[:guest_ip] || @env[:machine].provider.ssh_info[:host],
fp[:guest],