Skip to content

Commit

Permalink
Merge pull request #14 from unifio/dmi-issue-13-fix-readme-typo-use-s…
Browse files Browse the repository at this point in the history
…pec_helper

Update README.md to match spec_helper.rb
  • Loading branch information
disaac authored May 19, 2020
2 parents b1da9c0 + 04ef8b8 commit be7e9ee
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 be7e9ee

Please sign in to comment.