lib/rundock/builder/backend_builder.rb in rundock-0.4.7 vs lib/rundock/builder/backend_builder.rb in rundock-0.4.8
- old
+ new
@@ -51,10 +51,10 @@
end
# replace cli ssh options if exists
%w(:user :key :port :ssh_config :ask_password :sudo).each { |o| @node_info[@nodename.to_sym][:ssh_opts][o] = @options[o] if @options[o] }
- opts[:host] = @nodename
+ opts[:host] = opts[:nodename] = @nodename
opts
end
def parse_backend_type
if localhost? &&