plugins/kernel_v2/config/ssh_connect.rb in vagrant-unbundled-1.9.7.1 vs plugins/kernel_v2/config/ssh_connect.rb in vagrant-unbundled-1.9.8.1
- old
+ new
@@ -9,10 +9,11 @@
attr_accessor :insert_key
attr_accessor :keys_only
attr_accessor :paranoid
attr_accessor :compression
attr_accessor :dsa_authentication
+ attr_accessor :extra_args
def initialize
@host = UNSET_VALUE
@port = UNSET_VALUE
@private_key_path = UNSET_VALUE
@@ -21,10 +22,11 @@
@insert_key = UNSET_VALUE
@keys_only = UNSET_VALUE
@paranoid = UNSET_VALUE
@compression = UNSET_VALUE
@dsa_authentication = UNSET_VALUE
+ @extra_args = UNSET_VALUE
end
def finalize!
@host = nil if @host == UNSET_VALUE
@port = nil if @port == UNSET_VALUE
@@ -34,9 +36,10 @@
@insert_key = true if @insert_key == UNSET_VALUE
@keys_only = true if @keys_only == UNSET_VALUE
@paranoid = false if @paranoid == UNSET_VALUE
@compression = true if @compression == UNSET_VALUE
@dsa_authentication = true if @dsa_authentication == UNSET_VALUE
+ @extra_args = nil if @extra_args == UNSET_VALUE
if @private_key_path && !@private_key_path.is_a?(Array)
@private_key_path = [@private_key_path]
end
end