[ Agent ] [ Executor ] - 调整Executor部分的代码
This commit is contained in:
@@ -43,18 +43,18 @@ var agentOP = &AgentOsOperator{
|
||||
|
||||
func TestBaseFunc(t *testing.T) {
|
||||
|
||||
//agentOP.Exec("shutdownFirewall")
|
||||
//agentOP.Exec("modifyHostname")
|
||||
//agentOP.Exec("disableSwap")
|
||||
//agentOP.Exec("enableSwap")
|
||||
//agentOP.Exec("removeDocker")
|
||||
agentOP.Exec("installDocker", "20")
|
||||
//agentOP.Exec("removeDockerCompose")
|
||||
//agentOP.Exec("installDockerCompose")
|
||||
//agentOP.Exec("installHelm")
|
||||
//agentOP.Exec("installHarbor")
|
||||
//agentOP.Exec("chronyToPublicNTP")
|
||||
//agentOP.Exec("chronyToMaster", "192.168.0.8")
|
||||
//agentOP.Exec("installZSH")
|
||||
//agentOP.Command("shutdownFirewall")
|
||||
//agentOP.Command("modifyHostname")
|
||||
//agentOP.Command("disableSwap")
|
||||
//agentOP.Command("enableSwap")
|
||||
//agentOP.Command("removeDocker")
|
||||
agentOP.Command("installDocker", "20")
|
||||
//agentOP.Command("removeDockerCompose")
|
||||
//agentOP.Command("installDockerCompose")
|
||||
//agentOP.Command("installHelm")
|
||||
//agentOP.Command("installHarbor")
|
||||
//agentOP.Command("chronyToPublicNTP")
|
||||
//agentOP.Command("chronyToMaster", "192.168.0.8")
|
||||
//agentOP.Command("installZSH")
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user