Skip to content

Commit 04ef8b8

Browse files
committed
Update README.md to match spec_helper.rb
* Updated the README.md snippet to mirror the configuration in the UAT spec_helper.rb which is verified during CI tests of the provider.
1 parent b1da9c0 commit 04ef8b8

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,12 +53,14 @@ options[:keys] = ENV['TARGET_KEY']
5353
options[:host_name] = ENV['TARGET_HOST']
5454
options[:port] = ENV['TARGET_PORT']
5555
options[:verify_host_key] = :never unless ENV['SERVERSPEC_HOST_KEY_CHECKING'] =~ (/^(true|t|yes|y|1)$/i)
56+
backend = ENV.fetch('SERVERSPEC_BACKEND', 'ssh').to_sym
5657

58+
set :backend, backend
59+
set :disable_sudo, true
5760
set :host, options[:host_name]
58-
set :ssh_options, options
59-
set :backend, :ssh
60-
set :display_sudo, true
61+
set :path, '/usr/local/bin:$PATH'
6162
set :request_pty, true
63+
set :ssh_options, options
6264
```
6365

6466
Configuration

0 commit comments

Comments
 (0)