Skip to content

Commit

Permalink
Update README.md to match spec_helper.rb
Browse files Browse the repository at this point in the history
* Updated the README.md snippet to mirror the configuration in the UAT spec_helper.rb which is verified during CI tests of the provider.
  • Loading branch information
disaac committed May 19, 2020
1 parent b1da9c0 commit 04ef8b8
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,14 @@ options[:keys] = ENV['TARGET_KEY']
options[:host_name] = ENV['TARGET_HOST']
options[:port] = ENV['TARGET_PORT']
options[:verify_host_key] = :never unless ENV['SERVERSPEC_HOST_KEY_CHECKING'] =~ (/^(true|t|yes|y|1)$/i)
backend = ENV.fetch('SERVERSPEC_BACKEND', 'ssh').to_sym

set :backend, backend
set :disable_sudo, true
set :host, options[:host_name]
set :ssh_options, options
set :backend, :ssh
set :display_sudo, true
set :path, '/usr/local/bin:$PATH'
set :request_pty, true
set :ssh_options, options
```

Configuration
Expand Down

0 comments on commit 04ef8b8

Please sign in to comment.