Merge pull request #697 from SkynetLabs/ivo/update_server_list
Update the hardcoded list of servers for blocking skylinks.
This commit is contained in:
commit
4c525afb0f
|
@ -169,7 +169,6 @@ Steps:
|
||||||
|
|
||||||
There is some configuration that needs to be added to your `.env`file, namely:
|
There is some configuration that needs to be added to your `.env`file, namely:
|
||||||
|
|
||||||
1. CR_NODE - the name of your node
|
|
||||||
1. CR_IP - the public IP of your node
|
1. CR_IP - the public IP of your node
|
||||||
1. CR_CLUSTER_NODES - a list of IPs and ports which make up your cluster, e.g.
|
1. CR_CLUSTER_NODES - a list of IPs and ports which make up your cluster, e.g.
|
||||||
`95.216.13.185:26257,147.135.37.21:26257,144.76.136.122:26257`. This will be the list of nodes that will make up your
|
`95.216.13.185:26257,147.135.37.21:26257,144.76.136.122:26257`. This will be the list of nodes that will make up your
|
||||||
|
|
|
@ -32,7 +32,13 @@ fi
|
||||||
#########################################################################
|
#########################################################################
|
||||||
# iterate through all servers, block the skylinks and purge it from cache
|
# iterate through all servers, block the skylinks and purge it from cache
|
||||||
#########################################################################
|
#########################################################################
|
||||||
for server in "eu-ger-1.siasky.net" "eu-ger-2.siasky.net" "eu-fin-1.siasky.net" "us-or-1.siasky.net" "us-or-2.siasky.net" "us-va-1.siasky.net" "us-pa-1.siasky.net" "us-pa-2.siasky.net" "siasky.xyz";
|
declare -a servers=( "eu-ger-1.siasky.net" "eu-ger-2.siasky.net" "eu-ger-3.siasky.net" "eu-ger-4.siasky.net"
|
||||||
|
"eu-fin-1.siasky.net" "eu-fin-2.siasky.net"
|
||||||
|
"us-or-1.siasky.net" "us-or-2.siasky.net"
|
||||||
|
"us-pa-1.siasky.net" "us-pa-2.siasky.net"
|
||||||
|
"us-va-1.siasky.net"
|
||||||
|
"siasky.xyz" "siasky.dev")
|
||||||
|
for server in "${servers[@]}";
|
||||||
do
|
do
|
||||||
for skylink in "${skylinks[@]}";
|
for skylink in "${skylinks[@]}";
|
||||||
do
|
do
|
||||||
|
|
Reference in New Issue