nspcc-dev / neofs-dev-env

NeoFS local Development and Testing environment
https://fs.neo.org
GNU General Public License v3.0
9 stars 25 forks source link

Update hosts #247

Closed vvarg229 closed 1 year ago

vvarg229 commented 1 year ago

Script to modify IP addresses in the hosts file, the CoreDNS file and the Morph Chain config

vvarg229 commented 1 year ago

tried, works fine! @vvarg229 is it worth mentioning this script in some doc? maybe it will help someone (sudo to modify /etc/hosts worth a word of caution)

Yes, that's a great idea! Thanks so much for the review and the idea! I'll add it to the readme file.

vvarg229 commented 1 year ago

tried, works fine! @vvarg229 is it worth mentioning this script in some doc? maybe it will help someone (sudo to modify /etc/hosts worth a word of caution)

I added documentation and tests

vvarg229 commented 1 year ago

update_hosts.sh should reside in bin, and yes, we need some documentation for it.

It looks dangerous at the same time, I'd add.

I added documentation and tests. Tests to make it not look so dangerous:)