The use of undefined for a name to remsh only works for short names so if it isn't -sname we have to use our generated name.
also unquotes use of ${remote_nodename} since it is 2 elements and
quoting it causes erl to see it as a single element and fails to
understand it as the node type and node name together
The use of
undefined
for a name toremsh
only works for short names so if it isn't-sname
we have to use our generated name.also unquotes use of ${remote_nodename} since it is 2 elements and quoting it causes
erl
to see it as a single element and fails to understand it as the node type and node name together