zeus 3 years ago
parent
commit
25c9c2ce0e
  1. 6
      install/usr/share/swarmlab.io/sec/swarmlab-sec

6
install/usr/share/swarmlab.io/sec/swarmlab-sec

@ -170,7 +170,8 @@ if [ -d "$Wdir/project" ]; then
&& cat \${SSHDIR}/*.pub >> \${SSHDIR}/authorized_keys \
&& chmod -R 600 \${SSHDIR}/* \
&& chown -R \${USER1}:\${USER1} \${SSHDIR} \
&& chown -R \${USER1}:\${USER1} \${USER_HOME}
&& chown -R \${USER1}:\${USER1} \${USER_HOME} \
&& pip3 install requests
WORKDIR /home/docker/project
COPY .vimrc /home/docker
@ -255,7 +256,8 @@ if [ "$Wdir" == "$HOME" ]; then
&& cat \${SSHDIR}/*.pub >> \${SSHDIR}/authorized_keys \
&& chmod -R 600 \${SSHDIR}/* \
&& chown -R \${USER1}:\${USER1} \${SSHDIR} \
&& chown -R \${USER1}:\${USER1} \${USER_HOME}
&& chown -R \${USER1}:\${USER1} \${USER_HOME} \
&& pip3 install requests
COPY .vimrc /home/docker

Loading…
Cancel
Save