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

update echo private key

parent 699838dd
......@@ -214,7 +214,7 @@ do
echo "grpc-port: 38010" >> $configFile
echo "p2p-host-ip: \"$myIpAddr\"" >> $configFile
private_key=$(openssl rand -hex 32)
echo $private_key > $configPath/private-key
echo -n $private_key > $configPath/private-key
echo "p2p-priv-key: \"/root/private-key\"" >> $configFile
echo "generate net $i private key $private_key"
if [ $i -ne 1 ]; then
......
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