Browse Source

remove registry

master
zeus 4 years ago
parent
commit
92e2ffd289
  1. 10
      install/usr/share/swarmlab.io/sec/sec_bootstrap

10
install/usr/share/swarmlab.io/sec/sec_bootstrap

@ -1,8 +1,8 @@
#!/bin/sh #!/bin/sh
ROLE="undefined" ROLE="undefined"
MPI_MASTER_SERVICE_NAME="sec_master" MPI_MASTER_SERVICE_NAME="sec_masterservice"
MPI_WORKER_SERVICE_NAME="sec_worker" MPI_WORKER_SERVICE_NAME="sec_workerservice"
HOSTNAMES="/etc/nethosts" HOSTNAMES="/etc/nethosts"
####################### #######################
@ -41,7 +41,7 @@ MPI_WORKER_SERVICE_NAME=${MPI_WORKER_SERVICE_NAME}
EOF EOF
case $ROLE in case $ROLE in
"master") "masterservice")
# Auto update default host file in background and dumb all output # Auto update default host file in background and dumb all output
auto_update_hosts "${HOSTNAMES}" > /dev/null 2>&1 & auto_update_hosts "${HOSTNAMES}" > /dev/null 2>&1 &
@ -51,7 +51,7 @@ case $ROLE in
;; ;;
"worker") "workerservice")
# Start ssh server in background # Start ssh server in background
/usr/sbin/sshd -D & /usr/sbin/sshd -D &
@ -68,5 +68,5 @@ case $ROLE in
done done
;; ;;
*) *)
echo 'role argument only accepts "master" or "worker"' echo 'role argument only accepts "masterservice" or "workerservice"'
esac esac

Loading…
Cancel
Save