comments in vm.args confuses simplenode.runner

pablo platt pablo.platt at gmail.com
Thu Jun 2 16:29:14 EDT 2011


Hi

I've experimented with a release node by changing the -name in the vm.args
file.
I've commented the line that was generated from the template and added my
line:

## Name of the node
#-name myapp at 127.0.0.1
-name myapp at mydomain.com

The simplenode.runner use the commented line which gives weird results.
Is this something specific to rebar or does rebar just copy the script from
otp?

This is the relevant line but there other lines that extract info from the
vm.args file behave the same.

NAME_ARG=`grep -e '-[s]*name' $RUNNER_ETC_DIR/vm.args`
https://github.com/basho/rebar/blob/master/priv/templates/simplenode.runner#L25

Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.basho.com/pipermail/rebar_lists.basho.com/attachments/20110602/f2fd87dd/attachment.html>


More information about the rebar mailing list