aboutsummaryrefslogtreecommitdiffstats
path: root/lib/kernel/src/inet_config.hrl
diff options
context:
space:
mode:
authorJosé Valim <[email protected]>2019-04-29 17:54:18 +0200
committerJosé Valim <[email protected]>2019-04-29 17:56:44 +0200
commit6944df6e540d57f5ddf04e01d44d3aefd9c4720d (patch)
tree8cb7b2e072a403c8ef42acf3bd165bdf5eee7f63 /lib/kernel/src/inet_config.hrl
parent2f879097241d289e0100c7d1725485e2276a7f70 (diff)
downloadotp-6944df6e540d57f5ddf04e01d44d3aefd9c4720d.tar.gz
otp-6944df6e540d57f5ddf04e01d44d3aefd9c4720d.tar.bz2
otp-6944df6e540d57f5ddf04e01d44d3aefd9c4720d.zip
Add hostname to -remsh if none is given
The -name option already computes a default hostname if none is given. This PR adds the same behaviour to -remsh. Now we can run: erl -name foo -remsh bar erl -sname foo -remsh bar This simplifies deployment scripts as otherwise they have to compute the hostname by hand or start an Erlang VM instance only to do so.
Diffstat (limited to 'lib/kernel/src/inet_config.hrl')
0 files changed, 0 insertions, 0 deletions