From dec076573bde6ae26019fd40321bcadef9b5104c Mon Sep 17 00:00:00 2001 From: zeaslity Date: Thu, 14 Dec 2023 16:47:23 +0800 Subject: [PATCH] [ Agent ] [ App ] - offline build nfs server - 1 --- agent-go/executor/BaseFunction.go | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/agent-go/executor/BaseFunction.go b/agent-go/executor/BaseFunction.go index be34656..231fb3e 100644 --- a/agent-go/executor/BaseFunction.go +++ b/agent-go/executor/BaseFunction.go @@ -1234,11 +1234,9 @@ func (op *AgentOsOperator) installNFSServerOfflineExec() (bool, []string) { }) // install - AllCommandExecutor([]string{ - "dpkg", - "-i", - "/root/install/tmp/nfs-server/*.deb", - }) + BasicPrettyPrint(HardCodeCommandExecutor( + "dpkg -i /root/install/tmp/nfs-server/*.deb", + )) if !PureResultSingleExecuteBatch([][]string{ {"mkdir", "-p", nfsDataPath},