forked from axiom-team/astroport
change oasis "ipfs id"
This commit is contained in:
parent
38d2ef5488
commit
f90ba3f0bc
|
@ -103,9 +103,9 @@ ipfs config --json Experimental.Libp2pStreamMounting true
|
|||
|
||||
######### UPDATE BOOTSTRAP LIST ###########
|
||||
ipfs bootstrap rm --all
|
||||
ipfs bootstrap add /dnsaddr/oasis.astroport.com/tcp/4001/ipfs/Qmb6Gyy3KFWTxWh4v6fBeh5ANxAF6YAahWQtokmsNsqGda
|
||||
ipfs bootstrap add /ip4/51.15.166.54/tcp/4001/p2p/Qmb6Gyy3KFWTxWh4v6fBeh5ANxAF6YAahWQtokmsNsqGda
|
||||
ipfs bootstrap add /ip6/fe80::208:a2ff:fe0c:20d8/tcp/4001/p2p/Qmb6Gyy3KFWTxWh4v6fBeh5ANxAF6YAahWQtokmsNsqGda
|
||||
ipfs bootstrap add /dnsaddr/oasis.astroport.com/tcp/4001/ipfs/Qmf98yiZja5yrVctp5x4FicUe3Dubzbm5TiUHqJQwwT5Rj
|
||||
ipfs bootstrap add /ip4/51.15.166.54/tcp/4001/p2p/Qmf98yiZja5yrVctp5x4FicUe3Dubzbm5TiUHqJQwwT5Rj
|
||||
ipfs bootstrap add /ip6/fe80::208:a2ff:fe0c:20d8/tcp/4001/p2p/Qmf98yiZja5yrVctp5x4FicUe3Dubzbm5TiUHqJQwwT5Rj
|
||||
###########################################
|
||||
|
||||
sudo systemctl start ipfs || err "Start IPFS daemon"
|
||||
|
|
|
@ -148,7 +148,7 @@ $id : $type : $size bits
|
|||
nodename=$(cat /home/$YOU/.zen/ipfs/.$IPFSNODEID/G1SSB/_nodename)
|
||||
if [[ $nodename == "" ]]; then
|
||||
nodename=$(cat /etc/hostname)
|
||||
extension=$(echo$ nodename | cut -d '.' -f 2)
|
||||
extension=$(echo $nodename | cut -d '.' -f 2)
|
||||
if [[ $extension == $nodename ]]; then
|
||||
nodename=$nodename.home
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue