diff --git a/install/usr/share/swarmlab.io/sec/sec_bootstrap b/install/usr/share/swarmlab.io/sec/sec_bootstrap index 1dd7c5a..aa1d3b0 100755 --- a/install/usr/share/swarmlab.io/sec/sec_bootstrap +++ b/install/usr/share/swarmlab.io/sec/sec_bootstrap @@ -47,7 +47,8 @@ case $ROLE in auto_update_hosts "${HOSTNAMES}" > /dev/null 2>&1 & # Start ssh server - /usr/sbin/sshd -D + #/usr/sbin/sshd -D + start-notebook.sh ;; diff --git a/install/usr/share/swarmlab.io/sec/swarmlab-sec b/install/usr/share/swarmlab.io/sec/swarmlab-sec index 33dba9a..bb826bc 100755 --- a/install/usr/share/swarmlab.io/sec/swarmlab-sec +++ b/install/usr/share/swarmlab.io/sec/swarmlab-sec @@ -272,27 +272,6 @@ services: - $Wdir/project:/home/docker/project - /tmp/work:/tmp/work - - workerservice: - image: $IMAGE_NAME - privileged: true - environment: - - NODENAME=${NODENAME} - - NODENETWORK=${NODENETWORK} - - DISPLAY=\${DISPLAY} - - JUPYTER_ENABLE_LAB='yes' - restart: unless-stopped - cap_add: - - NET_ADMIN - user: root - entrypoint: ["sec_bootstrap", "role=workerservice", "sec_master_service_name=masterservice", "sec_worker_service_name=workerservice"] - ports: - - "\${SSH_PORT}:8888" - networks: - - ${HYBRID_NETWORK} - volumes: - - $Wdir/project:/home/docker/project - - /tmp/work:/tmp/work networks: ${HYBRID_NETWORK}: