[ Agent ] [ App ] - offline build nfs server - 1

This commit is contained in:
zeaslity
2023-12-14 16:49:17 +08:00
parent dec076573b
commit 37fb9c3a8d

View File

@@ -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",