chore: 打包restconf.yaml配置文件改名omc.yaml
This commit is contained in:
@@ -11,7 +11,7 @@ OmcDaemon=omcd
|
||||
NginxEtcDir=/etc/nginx
|
||||
NginxConfDir=${NginxEtcDir}/conf.d
|
||||
NginxSiteAvailable=${NginxEtcDir}/sites-available
|
||||
CFileList="restconf.yaml crontask.yaml tasks.yaml sshsvc.yaml capconf.yaml"
|
||||
CFileList="omc.yaml crontask.yaml tasks.yaml sshsvc.yaml capconf.yaml"
|
||||
LogoFileList="zh_brand.png zh_icon.png en_brand.png en_icon.png"
|
||||
|
||||
echo ""
|
||||
|
||||
@@ -50,7 +50,7 @@ case "${M_ARG}" in
|
||||
done
|
||||
cp -rf ${CustomizedDir}/logo/* ${OMCStaticDir}/logo
|
||||
cp -rf ${CustomizedDir}/doc/* ${OMCStaticDir}/helpDoc
|
||||
perl -0777 -i -pe 's/agtuser/bluearcus/g' ${OMCRootDir}/etc/default/restconf.yaml
|
||||
perl -0777 -i -pe 's/agtuser/bluearcus/g' ${OMCRootDir}/etc/default/omc.yaml
|
||||
perl -0777 -i -pe 's/agtuser/bluearcus/g' ${OMCBinDir}/nehosts
|
||||
fi
|
||||
;;
|
||||
|
||||
@@ -72,7 +72,7 @@ OMCStaticDir=/usr/local/omc/static
|
||||
UsrLocalBinDir=/usr/local/bin
|
||||
OmcDaemon=omcd
|
||||
NginxEtcDir=/etc/nginx
|
||||
CFileList="restconf.yaml crontask.yaml tasks.yaml sshsvc.yaml capconf.yaml"
|
||||
CFileList="omc.yaml crontask.yaml tasks.yaml sshsvc.yaml capconf.yaml"
|
||||
LogoFileList="zh_brand.png zh_icon.png en_brand.png en_icon.png"
|
||||
for CFile in ${CFileList}; do
|
||||
if [ ! -e "${OMCEtcDir}/${CFile}" ]; then
|
||||
|
||||
Reference in New Issue
Block a user