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

This commit is contained in:
zeaslity
2023-12-14 16:47:23 +08:00
parent 9fca83c737
commit dec076573b

View File

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