I want to use Exrm with Erlang distributed on a single machine.
I need to create multiple releases that differ only with node name.
I know, I can configure node name in rel/vm.args
, but it will be static. Can I somehow generate multiple releases with different node name?
I am researching the same issue. A possible approach:
The
rel/vm.args
supports OS environment variables parametrization. So you can do something likeThen you would invoke in batch file:
Note
RELX_REPLACE_OS_VARS
-- it is important!