You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

7 lines
225 B

  1. #! /bin/bash
  2. set -eu
  3. ID=$1
  4. DOCKER_IMAGE=$2
  5. NODEID="$(docker run --rm -e TMHOME=/go/src/github.com/tendermint/tendermint/test/p2p/data/mach$ID/core $DOCKER_IMAGE tendermint show_node_id)"
  6. echo "$NODEID@172.57.0.$((100+$ID))"