Method: PSWindows::Exec#ssh_set_user_environment

Defined in:
lib/beaker/host/pswindows/exec.rb

#ssh_set_user_environment(env) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Note:

this class doesn’t manipulate an SSH environment file, it just sets

Sets the user SSH environment.

the environment variables on the system.



179
180
181
182
183
184
# File 'lib/beaker/host/pswindows/exec.rb', line 179

def ssh_set_user_environment(env)
  #add the env var set to this test host
  env.each_pair do |var, value|
    add_env_var(var, value)
  end
end