lib/hem/tasks/vm.rb in hem-1.0.1.beta4 vs lib/hem/tasks/vm.rb in hem-1.0.1.beta5
- old
+ new
@@ -103,10 +103,10 @@
task :ssh do |task|
execute = task.opts[:_unparsed]
opts = { :psuedo_tty => STDIN.tty? }
Hem.ui.success "Determining VM connection details..." if STDOUT.tty?
- command = execute.empty? ? vm_command(nil, opts) : vm_command(execute, opts)
+ command = execute.empty? ? create_command(nil, opts) : create_command(execute, opts)
Hem.logger.debug "vm:ssh: #{command}"
Hem.ui.success "Connecting..." if STDOUT.tty?
exec command
end