From bcf5350fd5a02ea27f1cab011214a9bc6982fcf9 Mon Sep 17 00:00:00 2001 From: zeus Date: Sat, 15 May 2021 01:00:04 +0300 Subject: [PATCH] add jupyter --- install/usr/share/swarmlab.io/sec/swarmlab-sec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install/usr/share/swarmlab.io/sec/swarmlab-sec b/install/usr/share/swarmlab.io/sec/swarmlab-sec index 86e62c5..40aa9b3 100755 --- a/install/usr/share/swarmlab.io/sec/swarmlab-sec +++ b/install/usr/share/swarmlab.io/sec/swarmlab-sec @@ -134,7 +134,7 @@ if [ -d "$Wdir/project" ]; then && rm -rf /usr/share/man \ && rm -rf /usr/share/locale \ && mkdir -p /var/run/sshd \ - && useradd -m -s /bin/bash -N -u ${USER1_ID} ${USER1} \ + && useradd -m -s /bin/bash -N -u \${USER1_ID} \${USER1} \ && echo 'root:$ROOT_PASSWORD' | chpasswd \ && echo "export VISIBLE=now" >> /etc/profile \ && mkdir -p /home/docker/project \ @@ -212,7 +212,7 @@ if [ "$Wdir" == "$HOME" ]; then && rm -rf /usr/share/man \ && rm -rf /usr/share/locale \ && mkdir -p /var/run/sshd \ - && useradd -m -s /bin/bash -N -u ${USER1_ID} ${USER1} \ + && useradd -m -s /bin/bash -N -u \${USER1_ID} \${USER1} \ && echo 'root:$ROOT_PASSWORD' | chpasswd \ && echo "export VISIBLE=now" >> /etc/profile \ && mkdir -p /home/docker/project \