manual jq command to change ipfs node id

This commit is contained in:
qo-op 2020-11-17 11:44:43 +01:00
parent b732185603
commit 1e70f7296f
1 changed files with 2 additions and 2 deletions

View File

@ -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 " -> Read your Cesium messages to find how to Bootstrap your node"
echo
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 PeerID \"\$PeerID\" '.Identity.PeerID=\$PeerID' ~/.ipfs/config"
echo "jq -r --arg PrivKey \"\$PrivKey\" '.Identity.PrivKey=\$PrivKey' ~/.ipfs/config"
echo ""
rm -f /tmp/secret.dunikey
}