Allocates a tty when deploying to allow full fledge interaction

To have some interactions on the script we need to allocate a tty. This
adds a pseudo-tty to the ssh session.

This enables `read -s` on deployment scripts.
This commit is contained in:
Bruno Tavares 2015-09-26 23:44:25 -03:00
parent a7daca90dd
commit caa3a7378b

View File

@ -35,4 +35,4 @@ cat <<CMD
} }
CMD CMD
) )
ssh $target "bash -c '$execute_command'" ssh -t $target "bash -c '$execute_command'"