From 92e2ffd2893638daf4e240387091e02224a796fa Mon Sep 17 00:00:00 2001 From: zeus Date: Thu, 1 Apr 2021 01:32:43 +0300 Subject: [PATCH] remove registry --- install/usr/share/swarmlab.io/sec/sec_bootstrap | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/install/usr/share/swarmlab.io/sec/sec_bootstrap b/install/usr/share/swarmlab.io/sec/sec_bootstrap index d38b273..1dd7c5a 100755 --- a/install/usr/share/swarmlab.io/sec/sec_bootstrap +++ b/install/usr/share/swarmlab.io/sec/sec_bootstrap @@ -1,8 +1,8 @@ #!/bin/sh ROLE="undefined" -MPI_MASTER_SERVICE_NAME="sec_master" -MPI_WORKER_SERVICE_NAME="sec_worker" +MPI_MASTER_SERVICE_NAME="sec_masterservice" +MPI_WORKER_SERVICE_NAME="sec_workerservice" HOSTNAMES="/etc/nethosts" ####################### @@ -41,7 +41,7 @@ MPI_WORKER_SERVICE_NAME=${MPI_WORKER_SERVICE_NAME} EOF case $ROLE in - "master") + "masterservice") # Auto update default host file in background and dumb all output auto_update_hosts "${HOSTNAMES}" > /dev/null 2>&1 & @@ -51,7 +51,7 @@ case $ROLE in ;; - "worker") + "workerservice") # Start ssh server in background /usr/sbin/sshd -D & @@ -68,5 +68,5 @@ case $ROLE in done ;; *) - echo 'role argument only accepts "master" or "worker"' + echo 'role argument only accepts "masterservice" or "workerservice"' esac