mirror of
https://github.com/fluencelabs/tendermint
synced 2025-04-30 09:12:14 +00:00
8 lines
225 B
Bash
8 lines
225 B
Bash
|
#! /bin/bash
|
||
|
set -eu
|
||
|
|
||
|
ID=$1
|
||
|
DOCKER_IMAGE=$2
|
||
|
NODEID="$(docker run --rm -e TMHOME=/go/src/github.com/tendermint/tendermint/test/p2p/data/mach$ID/core $DOCKER_IMAGE tendermint show_node_id)"
|
||
|
echo "$NODEID@172.57.0.$((100+$ID))"
|