Browse Source

add jupyter

master
zeus 4 years ago
parent
commit
ea8f422f33
  1. 4
      install/usr/share/swarmlab.io/sec/swarmlab-sec

4
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/man \
&& rm -rf /usr/share/locale \ && rm -rf /usr/share/locale \
&& mkdir -p /var/run/sshd \ && mkdir -p /var/run/sshd \
&& useradd -m -s /bin/bash -N -u $USER1_UID $USER1 \ && useradd -m -s /bin/bash -N -u $USER1_ID $USER1 \
&& echo 'root:$ROOT_PASSWORD' | chpasswd \ && echo 'root:$ROOT_PASSWORD' | chpasswd \
&& echo "export VISIBLE=now" >> /etc/profile \ && echo "export VISIBLE=now" >> /etc/profile \
&& mkdir -p /home/docker/project \ && mkdir -p /home/docker/project \
@ -212,7 +212,7 @@ if [ "$Wdir" == "$HOME" ]; then
&& rm -rf /usr/share/man \ && rm -rf /usr/share/man \
&& rm -rf /usr/share/locale \ && rm -rf /usr/share/locale \
&& mkdir -p /var/run/sshd \ && mkdir -p /var/run/sshd \
&& useradd -m -s /bin/bash -N -u $USER1_UID $USER1 \ && useradd -m -s /bin/bash -N -u $USER1_ID $USER1 \
&& echo 'root:$ROOT_PASSWORD' | chpasswd \ && echo 'root:$ROOT_PASSWORD' | chpasswd \
&& echo "export VISIBLE=now" >> /etc/profile \ && echo "export VISIBLE=now" >> /etc/profile \
&& mkdir -p /home/docker/project \ && mkdir -p /home/docker/project \

Loading…
Cancel
Save