mirror of
https://github.com/1Panel-dev/KubePi.git
synced 2025-12-24 13:38:10 +08:00
fix(terminal): 修改挂载脚本
This commit is contained in:
@@ -36,7 +36,7 @@ current_context=`kubectl config current-context`
|
||||
cluster=${current_context%@*}
|
||||
username=${current_context#*@}
|
||||
|
||||
echo -e PS1='['${username}@${cluster}']$ ' >> .bashrc
|
||||
echo -e PS1=\"'['${username}@${cluster}']$ '\" >> .bashrc
|
||||
|
||||
echo "Welcome to kubepi web terminal, try kubectl --help."
|
||||
|
||||
|
||||
Reference in New Issue
Block a user