Revision 1f098187707c685ad17334c43c6fdaeaf5c466b2 authored by Ethan Buchman on 16 December 2018, 17:24:54 UTC, committed by GitHub on 16 December 2018, 17:24:54 UTC
2 parent s 9c236ff + e4806f9
Raw File
ip_plus_id.sh
#! /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-1)) $DOCKER_IMAGE tendermint show_node_id)"
echo "$NODEID@172.57.0.$((100+$ID))"
back to top