Default forward port adapter for VirtualBox should be 1
This commit is contained in:
parent
0903e62add
commit
d9c1b4b3fc
|
@ -42,7 +42,7 @@ module VagrantPlugins
|
|||
options ||= {}
|
||||
@auto_correct = true
|
||||
@auto_correct = options[:auto_correct] if options.has_key?(:auto_correct)
|
||||
@adapter = options[:adapter].to_i || 1
|
||||
@adapter = (options[:adapter] || 1).to_i
|
||||
@protocol = options[:protocol] || "tcp"
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue