Skip to content

Commit

Permalink
fix user init bug
Browse files Browse the repository at this point in the history
  • Loading branch information
gemfield committed Apr 23, 2021
1 parent 8bf96ba commit c4247c1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 12 deletions.
2 changes: 1 addition & 1 deletion docker/11.0.3-cudnn8-devel-ubuntu20.04/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,9 @@ ENV LC_ALL zh_CN.UTF-8
ENV LANG zh_CN.UTF-8
ENV LANGUAGE zh_CN.UTF-8
ENV DESKTOP_SESSION plasma
ENV KDE_FULL_SESSION=true
ENV SHELL=/bin/bash
ENV XDG_RUNTIME_DIR=/run/gemfield
ENV MLAB_DNS="192.168.0.114 ai1.gemfield.org"

ENV PATH_PREFIX=/ \
VNC_RESIZE=scale \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,15 +53,5 @@ contrast=4
widgetStyle=Breeze
EOT

cat <<EOT >> $HOME/.config/kwinrc
[Compositing]
Enabled=false
EOT

#MLab code DNS
if [ -z "$MLAB_DNS" ]
then
echo "[GEMFIELD] Warning: you may forget set MLAB_DNS"
else
echo $MLAB_DNS >> /etc/hosts
fi
echo "$MLAB_DNS" >> /etc/hosts

0 comments on commit c4247c1

Please sign in to comment.