ZeroTierOne/attic/big-http-test/big-test-kill.sh

10 lines
297 B
Bash
Raw Normal View History

2015-10-30 20:05:34 +00:00
#!/bin/bash
2015-11-03 22:39:44 +00:00
# Kills all running Docker containers on all big-test-hosts
2015-10-30 20:05:34 +00:00
export PATH=/bin:/usr/bin:/usr/local/bin:/usr/sbin:/sbin
2015-11-06 00:46:33 +00:00
pssh -h big-test-hosts -x '-t -t' -i -OUserKnownHostsFile=/dev/null -OStrictHostKeyChecking=no -t 0 -p 256 "sudo docker ps -aq | xargs -r sudo docker rm -f"
2015-10-30 20:05:34 +00:00
exit 0