Default V1 forward port options to {} Fixes #1329
This commit is contained in:
parent
7c8125905d
commit
1fd74da294
|
@ -28,6 +28,8 @@ module VagrantPlugins
|
||||||
end
|
end
|
||||||
|
|
||||||
def forward_port(guestport, hostport, options=nil)
|
def forward_port(guestport, hostport, options=nil)
|
||||||
|
options ||= {}
|
||||||
|
|
||||||
# Build up the network options for V2
|
# Build up the network options for V2
|
||||||
network_options = {}
|
network_options = {}
|
||||||
network_options[:virtualbox__adapter] = options[:adapter]
|
network_options[:virtualbox__adapter] = options[:adapter]
|
||||||
|
|
Loading…
Reference in New Issue