add hostname flag to setup testnet command #1367
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Adding this flag to support scenarios where the nodes doesn't have incremental IPs. For example the nodes deployed on the cloud has random public IP addresses that needs to be set in the config.toml as External address and for boot peers.
./.build/kwild setup testnet -v 2 -n 2 -u -o .net --db-owner 0xc89D42189f0450C2b2c3c61f58Ec5d628176A1E7 -H "54.208.120.196,54.208.120.197,54.208.120.198,54.208.120.199"
Generated config file: