You can edit the bin/pingpong script to something like thist:
Instead of
NAME_ARG=`egrep -e '^-s?name' $RUNNER_ETC_DIR/vm.args`
set:
NAME_ARG=${NAME_ARG:-`egrep -e '^-s?name' $RUNNER_ETC_DIR/vm.args`}
in this way you will be able to override node name from the command line:
NAME_ARG="-name myname@localhost" bin/pingpong start
For console/start command:
Find a line in yout startup script:
CMD="$BINDIR/erlexec -boot $RUNNER_BASE_DIR/releases/$APP_VSN/$BOOTFILE -mode embedded -config $CONFIG_PATH -args_file $VMARGS_PATH"
Add $NAME_ARG at the end:
CMD="$BINDIR/erlexec -boot $RUNNER_BASE_DIR/releases/$APP_VSN/$BOOTFILE -mode embedded -config $CONFIG_PATH -args_file $VMARGS_PATH $NAME_ARG"
And don't forget to remove -name NAME from your .args files