Commit 38ac0da8 authored by 贾浩@五瓣科技's avatar 贾浩@五瓣科技

update: set public ip address

parent e6728252
......@@ -6,6 +6,8 @@ N=${1:-2}
host_ip=$(ifconfig | grep -Eo 'inet (addr:)?([0-9]*\.){3}[0-9]*' | grep -Eo '([0-9]*\.){3}[0-9]*' |grep '192.168.1')
host_ip=${2:-$host_ip}
cd ../mainchain/
rm -rf conf/deploy || true
echo "./mainchain/scripts/run-testnet.sh "
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment