feat: 许可证和网元开关机
This commit is contained in:
1 parent
3220f9d138
commit
55fe1d534d
5 files changed
+211
-24
No files matched your search
@@ -564,7 +564,7 @@ func DistributeSoftwareToNF(w http.ResponseWriter, r *http.Request) {
|
||||
return
|
||||
}
|
||||
neFilePath := config.GetYamlConfig().NE.ScpDir + "/" + fileName
|
||||
cpCmd := fmt.Sprintf("sudo cp -f %s %s/software/%s", neFilePath,
|
||||
cpCmd := fmt.Sprintf("sudo mv -f %s %s/software/%s", neFilePath,
|
||||
config.GetYamlConfig().NE.OmcDir, neTypeLower)
|
||||
cmd = exec.Command("ssh", sshHost, cpCmd)
|
||||
out, err = cmd.CombinedOutput()
|
||||
|
||||
Reference in new issue
Block a user