iotaledger / one-click-tangle

"One Click Tangle" intends to make lives easier to IOTA adopters by providing pre-configured scripts and recipes that allow to deploy IOTA Networks and Nodes "in one click".
MIT License
55 stars 36 forks source link

Hornet mainnet Autopeering #50

Closed jmcanterafonseca-iota closed 2 years ago

jmcanterafonseca-iota commented 2 years ago

Description of change

Enables automatically autopeering if no peer specified.

Type of change

Choose a type of change, and delete any options that are not relevant.

How the change has been tested

Manual tests on AWS

Make sure to provide instructions for the maintainer as well as any relevant configurations.

Change checklist

Add an x to the boxes that are relevant to your changes, and delete any items that are not.

peterokwara commented 2 years ago

Should it be backward compatible? I found a weird error when trying to run it with hornet v1.0.4

[ec2-user@ip-172-31-45-25 hornet-mainnet]$ ./hornet.sh install -i "gohornet\/hornet:1.0.5"
Stopping hornet...
Cleaning up previous DB files
Cleaning up previous P2P files
Cleaning up previous snapshot files
Using image: gohornet\/hornet:1.0.5
Pulling hornet ... done
Setting permissions for Hornet...
Creating network "tangle" with the default driver
Creating hornet-mainnet_hornet_run ... done
Configuring autopeering ...
Creating hornet ... done

[ec2-user@ip-172-31-45-25 hornet-mainnet]$ ./hornet.sh install -i "gohornet\/hornet:1.0.4"
Stopping hornet...
Stopping hornet ... done
Removing hornet ... done
Cleaning up previous DB files
Cleaning up previous P2P files
Cleaning up previous snapshot files
Using image: gohornet\/hornet:1.0.4
Pulling hornet ... done
Setting permissions for Hornet...
Creating network "tangle" with the default driver
Creating hornet-mainnet_hornet_run ... done
ERROR: 1