manual jq command to change ipfs node id
This commit is contained in:
parent
b732185603
commit
1e70f7296f
|
@ -101,8 +101,8 @@ echo "Configure IPFS: copy the lines above in your console"
|
||||||
echo "then run jq commands and make your IPFS NODE https://Cesium.app compatible"
|
echo "then run jq commands and make your IPFS NODE https://Cesium.app compatible"
|
||||||
echo " -> Read your Cesium messages to find how to Bootstrap your node"
|
echo " -> Read your Cesium messages to find how to Bootstrap your node"
|
||||||
echo
|
echo
|
||||||
echo "jq -r --arg PeerID \"\$PeerID\" '.Identity.PeerID=$PeerID' ~/.ipfs/config"
|
echo "jq -r --arg PeerID \"\$PeerID\" '.Identity.PeerID=\$PeerID' ~/.ipfs/config"
|
||||||
echo "jq -r --arg PrivKey \"\$PrivKey\" '.Identity.PrivKey=$PrivKey' ~/.ipfs/config"
|
echo "jq -r --arg PrivKey \"\$PrivKey\" '.Identity.PrivKey=\$PrivKey' ~/.ipfs/config"
|
||||||
echo ""
|
echo ""
|
||||||
rm -f /tmp/secret.dunikey
|
rm -f /tmp/secret.dunikey
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue