The issue is this. Erlang relies on a fully qualified host name when appending the node name.
Distillery, however, relies on $HOSTNAME to do the same. This may result to situations when commands like remote_console won't work. The example of such a situation would be a host with no DNS name setup: Erlang translates foo to foo@1.2.3.4, but distillery - to foo@hostname.
The expected result would be to use the same appending mechanism that Erlang does. Erlang seems to rely on what the command hostname -f returns.
Steps to reproduce
-name
invm.args
asfoo
(without@
).Description of issue
The issue is this. Erlang relies on a fully qualified host name when appending the node name. Distillery, however, relies on
$HOSTNAME
to do the same. This may result to situations when commands likeremote_console
won't work. The example of such a situation would be a host with no DNS name setup: Erlang translatesfoo
tofoo@1.2.3.4
, but distillery - tofoo@hostname
.The expected result would be to use the same appending mechanism that Erlang does. Erlang seems to rely on what the command
hostname -f
returns.Suggested fix: