lib/simple_perf/cli/start.rb in simple_perf-0.0.2 vs lib/simple_perf/cli/start.rb in simple_perf-0.0.3
- old
+ new
@@ -24,10 +24,10 @@
Trollop::die :name, "is required but not specified" unless opts[:name]
Trollop::die :testplan, "is required but not specified" unless opts[:testplan]
config = Config.new.environment opts[:environment]
- ENV['SIMPLE_DEPLOY_SSH_KEY'] = config['key']
+ ENV['SIMPLE_DEPLOY_SSH_KEY'] = config['local_pem']
ENV['SIMPLE_DEPLOY_SSH_USER'] = config['user']
command = 'simple_deploy execute' +
' -e ' + opts[:environment] +
' -n ' + opts[:name] +