Skip to content

Commit

Permalink
Default V1 forward port options to {} Fixes hashicorp#1329
Browse files Browse the repository at this point in the history
  • Loading branch information
mitchellh committed Jan 22, 2013
1 parent 7c81259 commit 1fd74da
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions plugins/kernel_v1/config/vm.rb
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ def initialize
end

def forward_port(guestport, hostport, options=nil)
options ||= {}

# Build up the network options for V2
network_options = {}
network_options[:virtualbox__adapter] = options[:adapter]
Expand Down

0 comments on commit 1fd74da

Please sign in to comment.