jq ARG passing
This commit is contained in:
parent
23e30e1832
commit
423f989471
|
@ -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 '.Identity.PeerID=\"\$PeerID\"' ~/.ipfs/config"
|
||||
echo "jq '.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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue