Browse Source

add root

master
zeus 3 years ago
parent
commit
b139ca5432
  1. 2
      install/usr/share/swarmlab.io/sec/swarmlab-sec

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

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

Loading…
Cancel
Save