lib/rmd/deploy_service.rb in rmdd-0.1.7 vs lib/rmd/deploy_service.rb in rmdd-0.1.8
- old
+ new
@@ -30,10 +30,10 @@
system_cmd(command)
end
def self.console(server)
validate(server)
- command = %{echo "cd #{NAME} && DOCKER_HOST=:2375 docker exec -it ringmd_new_web_1 rails c" | ssh #{master(server)} -p 2200}
+ command = %{echo "cd #{NAME} && DOCKER_HOST=:2375 docker exec -it ringmd_new_web_1 rails c" | ssh #{master(server)} -p 2200 -t}
system_cmd(command)
end
private