mirror of
https://github.com/phusion/baseimage-docker.git
synced 2026-03-26 04:18:46 +00:00
remove interactive and TTY flags when Enabling SSH in test
This commit is contained in:
@@ -29,9 +29,9 @@ fi
|
|||||||
trap cleanup EXIT
|
trap cleanup EXIT
|
||||||
|
|
||||||
echo " --> Enabling SSH in the container"
|
echo " --> Enabling SSH in the container"
|
||||||
docker exec -t -i $ID /etc/my_init.d/00_regen_ssh_host_keys.sh -f
|
docker exec $ID /etc/my_init.d/00_regen_ssh_host_keys.sh -f
|
||||||
docker exec -t -i $ID rm /etc/service/sshd/down
|
docker exec $ID rm /etc/service/sshd/down
|
||||||
docker exec -t -i $ID sv start /etc/service/sshd
|
docker exec $ID sv start /etc/service/sshd
|
||||||
sleep 1
|
sleep 1
|
||||||
|
|
||||||
echo " --> Logging into container and running tests"
|
echo " --> Logging into container and running tests"
|
||||||
|
|||||||
Reference in New Issue
Block a user