You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# User can specify an sname without @hostname
# This will fail when creating remote shell
# So here we check for @ and add @hostname if missing
case "${NAME}" in
*@*) ;; # Nothing to do
*) NAME=${NAME}@$(relx_get_nodename);; # Add @hostname
esac
The issue may have been fixed in Erlang as now this works:
$ erl -sname a -setcookie a
(a@rosa) 1>
$ erl -remsh a -sname b -setcookie a
(a@rosa)1>
I think it used to not work but would want to confirm and find the patch to OTP that fixed it before starting down the path of removing it (once the oldest supported version works).
To work around an issue with resolving the hostname being different depending on if you were running a new node or a remote shell we have this code
relx/priv/templates/extended_bin
Line 666 in ad37eef
The issue may have been fixed in Erlang as now this works:
I think it used to not work but would want to confirm and find the patch to OTP that fixed it before starting down the path of removing it (once the oldest supported version works).
Seems it also works for longnames now:
The text was updated successfully, but these errors were encountered: