add an option to use the nodes ip in /etc/hosts