Browse Source

sshpass

master
zeus 3 years ago
parent
commit
76689e90cb
  1. 6
      install/usr/share/swarmlab.io/sec/swarmlab-sec

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

@ -169,7 +169,8 @@ if [ -d "$Wdir/project" ]; then
&& chown -R \${USER1}:\${USER1} \${SSHDIR}
COPY .vimrc /home/docker
USER root
WORKDIR /home/docker/project
USER docker
EOF
fi
else
@ -248,7 +249,8 @@ if [ "$Wdir" == "$HOME" ]; then
&& chown -R \${USER1}:\${USER1} \${SSHDIR}
COPY .vimrc /home/docker
USER root
WORKDIR /home/docker/project
USER docker
EOF
fi

Loading…
Cancel
Save