Default V1 forward port options to {} Fixes #1329

This commit is contained in:
Mitchell Hashimoto 2013-01-22 14:07:27 -08:00
parent 7c8125905d
commit 1fd74da294
1 changed files with 2 additions and 0 deletions

View File

@ -28,6 +28,8 @@ module VagrantPlugins
end
def forward_port(guestport, hostport, options=nil)
options ||= {}
# Build up the network options for V2
network_options = {}
network_options[:virtualbox__adapter] = options[:adapter]