feat: 网元OAM配置文件读写接口和部分接口参数变更
This commit is contained in:
@@ -146,7 +146,7 @@ func (r *NeVersionImpl) Operate(action string, neVersion model.NeVersion, preinp
|
||||
}
|
||||
// 网元端配置路径
|
||||
nePara5GFilePath := "/usr/local/etc/conf/para5G.yaml"
|
||||
nePara5GFileDir := filepath.Dir(nePara5GFilePath)
|
||||
nePara5GFileDir := filepath.ToSlash(filepath.Dir(nePara5GFilePath))
|
||||
// 修改网元文件权限
|
||||
sshClient.RunCMD(fmt.Sprintf("sudo mkdir -p %s && sudo chmod o+w %s && sudo chmod o+w %s", nePara5GFileDir, nePara5GFileDir, nePara5GFilePath))
|
||||
// 复制到网元进行覆盖
|
||||
|
||||
Reference in New Issue
Block a user