From 37fb9c3a8d3315ca4683c155e66b4da49d554c34 Mon Sep 17 00:00:00 2001 From: zeaslity Date: Thu, 14 Dec 2023 16:49:17 +0800 Subject: [PATCH] [ Agent ] [ App ] - offline build nfs server - 1 --- agent-go/executor/BaseFunction.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/agent-go/executor/BaseFunction.go b/agent-go/executor/BaseFunction.go index 231fb3e..c57c6fa 100644 --- a/agent-go/executor/BaseFunction.go +++ b/agent-go/executor/BaseFunction.go @@ -1233,6 +1233,12 @@ func (op *AgentOsOperator) installNFSServerOfflineExec() (bool, []string) { "/root/install", }) + AllCommandExecutor([]string{ + "rm", + "-rf", + "/root/install/tmp", + }) + // install BasicPrettyPrint(HardCodeCommandExecutor( "dpkg -i /root/install/tmp/nfs-server/*.deb",