chore: 打包restconf.yaml配置文件改名omc.yaml
This commit is contained in:
2
build.sh
2
build.sh
@@ -156,7 +156,7 @@ case "$1" in
|
||||
# cp -rf ${EmsBEDir}/build/build/systemd/*.service ${DebBuildDir}/lib/systemd/system/
|
||||
chmod +x ${DebBuildDir}/usr/local/omc/bin/*
|
||||
sed -i "s/YYYYMMDD/${RelDate}/g" ${DebBuildDir}/DEBIAN/control
|
||||
perl -0777 -i -pe 's/ne:\n user: root/ne:\n user: agtuser/g' ${DebBuildDir}/usr/local/omc/etc/default/restconf.yaml
|
||||
perl -0777 -i -pe 's/ne:\n user: root/ne:\n user: agtuser/g' ${DebBuildDir}/usr/local/omc/etc/default/omc.yaml
|
||||
dpkg -b ${DebBuildDir} ${ReleaseDebs}/${DebPkgFile}
|
||||
|
||||
cd $ReleaseDir/"$1"s/$RelArch
|
||||
|
||||
Reference in New Issue
Block a user