fix(tty): 修改挂载脚本

This commit is contained in:
Aaron3S
2021-09-30 16:43:21 +08:00
parent aff932b374
commit d084c75ba4

View File

@@ -12,9 +12,9 @@ mkdir -p /nonexistent
mount -t tmpfs -o size=${SESSION_STORAGE_SIZE} tmpfs /nonexistent
cd /nonexistent
cp /root/.bashrc ./
cp /etc/vim/vimrc.local .vimrc
echo 'source /opt/kubectl-aliases/.kubectl_aliases' >> .bashrc
echo -e 'PS1="> "\nalias ll="ls -la"' >> .bashrc
#cp /etc/vim/vimrc.local .vimrc
#echo 'source /opt/kubectl-aliases/.kubectl_aliases' >> .bashrc
#echo -e 'PS1="> "\nalias ll="ls -la"' >> .bashrc
mkdir -p .kube
export HOME=/nonexistent