mirror of
https://github.com/1Panel-dev/KubePi.git
synced 2025-10-07 16:20:59 +08:00
fix(tty): 修改挂载脚本
This commit is contained in:
@@ -12,9 +12,9 @@ mkdir -p /nonexistent
|
|||||||
mount -t tmpfs -o size=${SESSION_STORAGE_SIZE} tmpfs /nonexistent
|
mount -t tmpfs -o size=${SESSION_STORAGE_SIZE} tmpfs /nonexistent
|
||||||
cd /nonexistent
|
cd /nonexistent
|
||||||
cp /root/.bashrc ./
|
cp /root/.bashrc ./
|
||||||
cp /etc/vim/vimrc.local .vimrc
|
#cp /etc/vim/vimrc.local .vimrc
|
||||||
echo 'source /opt/kubectl-aliases/.kubectl_aliases' >> .bashrc
|
#echo 'source /opt/kubectl-aliases/.kubectl_aliases' >> .bashrc
|
||||||
echo -e 'PS1="> "\nalias ll="ls -la"' >> .bashrc
|
#echo -e 'PS1="> "\nalias ll="ls -la"' >> .bashrc
|
||||||
mkdir -p .kube
|
mkdir -p .kube
|
||||||
|
|
||||||
export HOME=/nonexistent
|
export HOME=/nonexistent
|
||||||
|
Reference in New Issue
Block a user