From 25c9c2ce0ef6830685b4e947146f503841e5c2dc Mon Sep 17 00:00:00 2001 From: zeus Date: Mon, 3 Jan 2022 00:36:25 +0200 Subject: [PATCH] add --- install/usr/share/swarmlab.io/sec/swarmlab-sec | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/install/usr/share/swarmlab.io/sec/swarmlab-sec b/install/usr/share/swarmlab.io/sec/swarmlab-sec index 9e29e30..edc1374 100755 --- a/install/usr/share/swarmlab.io/sec/swarmlab-sec +++ b/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