[Excution] - accomplish base Function - 1
This commit is contained in:
@@ -6,10 +6,12 @@ var agentOP = AgentOsOperator{
|
||||
InstallCommandPrefix: []string{
|
||||
"apt-get", "install", "-y",
|
||||
},
|
||||
RemoveCommandPrefix: []string{"/usr/bin/apt", "remove", "-y"},
|
||||
RemoveCommandPrefix: []string{"apt", "remove", "-y"},
|
||||
CanAccessInternet: true,
|
||||
IsOsTypeUbuntu: true,
|
||||
IsAgentInnerWall: true,
|
||||
AgentArch: "amd64",
|
||||
AgentOSReleaseCode: "focal",
|
||||
}
|
||||
|
||||
func TestBaseFunc(t *testing.T) {
|
||||
@@ -19,6 +21,7 @@ func TestBaseFunc(t *testing.T) {
|
||||
//agentOP.Exec("disableSwap")
|
||||
//agentOP.Exec("enableSwap")
|
||||
//agentOP.Exec("removeDocker")
|
||||
agentOP.Exec("installDocker")
|
||||
//agentOP.Exec("installDocker", "20")
|
||||
agentOP.Exec("installDockerCompose")
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user