From d6f42edec9bfa0bc9bda3834059888a2a8b03024 Mon Sep 17 00:00:00 2001
From: Tristan Sloughter <t@crashfast.com>
Date: Thu, 19 Nov 2015 09:48:09 -0600
Subject: make remote shell a hidden node so they don't try to join each other

---
 priv/templates/extended_bin | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/priv/templates/extended_bin b/priv/templates/extended_bin
index 0046502..eaeb54a 100755
--- a/priv/templates/extended_bin
+++ b/priv/templates/extended_bin
@@ -59,7 +59,7 @@ relx_rem_sh() {
     # Setup remote shell command to control node
     exec "$BINDIR/erl" "$NAME_TYPE" "$id" -remsh "$NAME" -boot start_clean \
          -boot_var ERTS_LIB_DIR "$ERTS_LIB_DIR" \
-         -setcookie "$COOKIE" -kernel net_ticktime $TICKTIME
+         -setcookie "$COOKIE" -hidden -kernel net_ticktime $TICKTIME
 }
 
 # Generate a random id
-- 
cgit v1.2.3