lg / murder

Large scale server deploys using BitTorrent and the BitTornado library (NOTE: project no longer maintained)
http://twitter.com
Other
2.53k stars 269 forks source link

Use ifconfig to detect the host ip #6

Closed calavera closed 8 years ago

calavera commented 13 years ago

when we work with virtualized hosts, the command host not always matches what Murder expects. For instance, a Kvm host returns this:

76.1.60.10.in-addr.arpa domain name pointer thunder06.bcn.abiquo.com

I've modify the source to use ifconfig instead. I hope you can apply the patch.

Cheers

proffalken commented 13 years ago

This also means that IP Addresses are discovered if hosts are not in DNS (using /etc/hosts for example).

+1 for the patch... :D

Lax commented 12 years ago

+1

companycy commented 8 years ago

+1 Sometimes DNS is not necessary to setup a cluster.