Skip to content

Commit

Permalink
Merge pull request #841 from tsloughter/nodename-no-listen
Browse files Browse the repository at this point in the history
set dist_listen to false for command that grabs the hostname
  • Loading branch information
tsloughter authored Nov 30, 2020
2 parents a24ec73 + e8f0bc9 commit cf76122
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions priv/templates/extended_bin
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,7 @@ relx_get_nodename() {
-mode interactive \
-boot_var SYSTEM_LIB_DIR "$SYSTEM_LIB_DIR" \
-eval '[_,H]=re:split(atom_to_list(node()),"@",[unicode,{return,list}]), io:format("~s~n",[H]), halt()' \
-dist_listen false \
${START_EPMD} \
-noshell "${NAME_TYPE}" "$id"
else
Expand All @@ -265,6 +266,7 @@ relx_get_nodename() {
-boot_var SYSTEM_LIB_DIR "$SYSTEM_LIB_DIR" \
-eval '[_,H]=re:split(atom_to_list(node()),"@",[unicode,{return,list}]), io:format("~s~n",[H]), halt()' \
-setcookie "${COOKIE}" \
-dist_listen false \
${START_EPMD} \
-noshell "${NAME_TYPE}" "$id"
fi
Expand Down

0 comments on commit cf76122

Please sign in to comment.