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

update

parent 73618d7a
#!/bin/bash
NET1_HOST = "net"
NET1_IP = $(nslookup $NET1_HOST | awk '/^Address: / { print $2 }')
NET2_HOST = "net2"
NET2_IP = $(nslookup $NET2_HOST | awk '/^Address: / { print $2 }')
echo "IP address of $NET1_HOST is $NET1_IP"
echo "IP address of $NET2_HOST is $NET2_IP"
/root/MetaNet --single-node --enable-prom --log-level debug \
--peer /ip4/$NET1_IP/tcp/30333/p2p/16Uiu2HAkzyUdhtxksEjKmYukux7ecvzw9JFKqHsy1iDYYDuck12h \
--grpc-host 0.0.0.0 --grpc-port 38010 --p2p-host-ip $NET2_IP
\ No newline at end of file
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