/
githubmirror
/
charts
Обзор
Документация
Войти
/
githubmirror
/
charts
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
stable/ethereum/scripts/get-bootnode.sh
18 строк
448 B
Jason Poon
[stable/ethereum] Add Chart for Deploying Private Ethereum Network (#3220)
28 мар 2018, 12:17
28 мар 2018, 12:17
744a7cd
Код
Авторство
О чём код?
apk add --no-cache curl; CNT=0; echo "retreiving bootnodes from $BOOTNODE_SVC" while [ $CNT -le 90 ] do curl -m 5 -s $BOOTNODE_SVC | xargs echo -n >> /geth/bootnodes; if [ -s /geth/bootnodes ] then cat /geth/bootnodes; exit 0; fi; echo "no bootnodes found. retrying $CNT..."; sleep 2 || break; CNT=$((CNT+1)); done; echo "WARNING. unable to find bootnodes. continuing but geth may not be able to find any peers."; exit 0;