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

Loading…
Cancel
Save