diff --git a/features/cm/software.go b/features/cm/software.go index d65ff539..d264b9cd 100644 --- a/features/cm/software.go +++ b/features/cm/software.go @@ -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()