Use a proper args array for V1 forwarded ports. Fixes #1330
This commit is contained in:
parent
1fd74da294
commit
44d6b9a3f7
|
@ -36,7 +36,7 @@ module VagrantPlugins
|
|||
network_options[:virtualbox__protocol] = options[:protocol]
|
||||
|
||||
# Just append the forwarded port to the networks
|
||||
@networks << [:forwarded_port, guestport, hostport, network_options]
|
||||
@networks << [:forwarded_port, [guestport, hostport, network_options]]
|
||||
end
|
||||
|
||||
def share_folder(name, guestpath, hostpath, opts=nil)
|
||||
|
|
Loading…
Reference in New Issue