[ Agent ] [ Executor ] - fix bugs
This commit is contained in:
@@ -628,6 +628,13 @@ func (op *AgentOsOperator) installDockerExec(args []string) (bool, []string) {
|
||||
return false, append(log4, "apt-get update 失败!")
|
||||
}
|
||||
|
||||
// 补充参数
|
||||
if args == nil {
|
||||
args = []string{
|
||||
"20",
|
||||
}
|
||||
}
|
||||
|
||||
// ubuntu 内部
|
||||
var specificDockerVersion string
|
||||
// hard code here 5:20.10.10~3-0~ubuntu-focal
|
||||
@@ -1338,10 +1345,6 @@ func (op *AgentOsOperator) installZSHExec() (bool, []string) {
|
||||
"s/plugins=(git)/plugins=(git zsh-autosuggestions zsh-syntax-highlighting command-not-found z themes)/g",
|
||||
"/root/.zshrc",
|
||||
},
|
||||
{
|
||||
".",
|
||||
"/root/.zshrc",
|
||||
},
|
||||
{
|
||||
"chsh",
|
||||
"-s",
|
||||
|
||||
Reference in New Issue
Block a user