OpenDataNode / odn-box

0 stars 2 forks source link

Installation may go wrong with multiple with different FQDNs #41

Closed Jan-Marcek closed 8 years ago

Jan-Marcek commented 8 years ago

based on https://github.com/OpenDataNode/open-data-node/issues/211

ODN 1.1.2

The installation takes the output of hostname -A as the FQDN to be used as the primary ODN name.

However, hostname -A can return more than one FQDN, in which case the concatenation of the two is used (which goes very bad as you can imagine).

In my case, I had two interfaces, one DHCP and one with manual. Although /etc/hostname, /etc/hosts and /etc/resolv.conf were setup correctly, the output of hostname -A was

odn.local odn.spinque.com

Starting the ODN installation with this configuration, everything has been configured for host odn.localodn.spinque.com.

On the .local domain name After quite some effort I found out that that stupid .local domain was added by the avahi daemon. Once I disabled it, hostname -A finally returns only odn.spinque.com. Perhaps it should be advised in the installation instructions to disable avahi.

Jan-Marcek commented 8 years ago

fixed by https://github.com/OpenDataNode/odn-box/commit/22303fe42400938fdf9aa245474cf270b45483ee