mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-02-20 17:52:46 +00:00
.
This commit is contained in:
parent
3e22fee842
commit
869eff49bc
@ -4,6 +4,6 @@
|
||||
|
||||
export PATH=/bin:/usr/bin:/usr/local/bin:/usr/sbin:/sbin
|
||||
|
||||
pssh -h big-test-hosts -i -OUserKnownHostsFile=/dev/null -OStrictHostKeyChecking=no -t 0 -p 256 "sudo docker ps -aq | xargs -r sudo docker rm -f"
|
||||
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"
|
||||
|
||||
exit 0
|
||||
|
@ -7,6 +7,6 @@ CONTAINER_IMAGE=zerotier/http-test
|
||||
|
||||
export PATH=/bin:/usr/bin:/usr/local/bin:/usr/sbin:/sbin
|
||||
|
||||
pssh -h big-test-hosts -i -OUserKnownHostsFile=/dev/null -OStrictHostKeyChecking=no -t 600 -p 256 "for ((n=0;n<$NUM_CONTAINERS;n++)); do sudo docker run --device=/dev/net/tun --privileged -d $CONTAINER_IMAGE; sleep 0.1; done"
|
||||
pssh -h big-test-hosts -x '-t -t' -i -OUserKnownHostsFile=/dev/null -OStrictHostKeyChecking=no -t 600 -p 256 "for ((n=0;n<$NUM_CONTAINERS;n++)); do sudo docker run --device=/dev/net/tun --privileged -d $CONTAINER_IMAGE; sleep 0.1; done"
|
||||
|
||||
exit 0
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -1,17 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
export PATH=/home/api/bin:/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin
|
||||
|
||||
# Provision the Big Test(tm) on Digital Ocean using tugboat CLI
|
||||
|
||||
REGIONS="nyc3 ams3 ams2 sfo1 sgp1 lon1 fra1 tor1"
|
||||
PER_REGION=25
|
||||
DROPLET_IMAGE=docker
|
||||
DROPLET_SIZE=16gb
|
||||
SSH_KEY=1543438
|
||||
|
||||
for r in $REGIONS; do
|
||||
for((n=0;n<$PER_REGION;n++)); do
|
||||
tugboat create TEST-${r}-${n}.zerotier.net --size=$DROPLET_SIZE --image=$DROPLET_IMAGE --region=$r --keys=$SSH_KEY
|
||||
done
|
||||
done
|
Loading…
x
Reference in New Issue
Block a user