[Agent][Deploy] - cmii update accomplish
This commit is contained in:
22
agent-deploy/b_nfs/DeployNFS.go
Executable file
22
agent-deploy/b_nfs/DeployNFS.go
Executable file
@@ -0,0 +1,22 @@
|
||||
package b_nfs
|
||||
|
||||
import (
|
||||
"wdd.io/agent-common/logger"
|
||||
"wdd.io/agent-deploy/z_dep"
|
||||
)
|
||||
|
||||
var (
|
||||
log = logger.Log
|
||||
)
|
||||
|
||||
type NfsDeployConfig struct {
|
||||
NfsLocalPath string
|
||||
}
|
||||
|
||||
func NFSDeploy(commonEnv *z_dep.CommonEnvironmentConfig) bool {
|
||||
return commonEnv.ParseCommonEnvToApplyFile(CmiiNfsTemplate, z_dep.NfsApplyFilePath)
|
||||
}
|
||||
|
||||
func NFSTestDeploy(commonEnv *z_dep.CommonEnvironmentConfig) bool {
|
||||
return commonEnv.ParseCommonEnvToApplyFile(CmiiNFSTestTemplate, z_dep.NfsTestApplyFilePath)
|
||||
}
|
||||
Reference in New Issue
Block a user