[ Agent ] [ App ] - offline build nfs server - 1
This commit is contained in:
@@ -1234,11 +1234,9 @@ func (op *AgentOsOperator) installNFSServerOfflineExec() (bool, []string) {
|
|||||||
})
|
})
|
||||||
|
|
||||||
// install
|
// install
|
||||||
AllCommandExecutor([]string{
|
BasicPrettyPrint(HardCodeCommandExecutor(
|
||||||
"dpkg",
|
"dpkg -i /root/install/tmp/nfs-server/*.deb",
|
||||||
"-i",
|
))
|
||||||
"/root/install/tmp/nfs-server/*.deb",
|
|
||||||
})
|
|
||||||
|
|
||||||
if !PureResultSingleExecuteBatch([][]string{
|
if !PureResultSingleExecuteBatch([][]string{
|
||||||
{"mkdir", "-p", nfsDataPath},
|
{"mkdir", "-p", nfsDataPath},
|
||||||
|
|||||||
Reference in New Issue
Block a user