I have a laptop that uses a VPN, and my hostname often changes. I get a different Erlang node name every time this happens. The docs for node (http://erlang.org/doc/reference_manual/distributed.html) do not seem to specify a way to set this statically.
How can I permanently configure my machine's nodename to be persistent across network changes?
-sname
flag for theerl
command work for you? – Asier Azkuenagaerl
. Is there a way to set this as an enviornmental variable? – Tommyrebar3 ct
– Tommy