Commit 3c00c375 authored by 苗青's avatar 苗青

TAR_PACKAGE

parent f78fdfca
...@@ -34,7 +34,7 @@ if [[ $CLUSTER == "3B" ]]; then ...@@ -34,7 +34,7 @@ if [[ $CLUSTER == "3B" ]]; then
HOST_NAME=`cat /home/quant_group/build_info | grep 'SYSTEM_NAME' | awk -F: '{print $2}'` HOST_NAME=`cat /home/quant_group/build_info | grep 'SYSTEM_NAME' | awk -F: '{print $2}'`
HOME_PATH="/home/quant_group" HOME_PATH="/home/quant_group"
cd ${HOME_PATH} && curl -O ${PULL_TAR} && tar zxf ${TAR_PACKAGE} -C ${HOME_PATH} && rm -f ${ TAR_PACKAGE } cd ${HOME_PATH} && curl -O ${PULL_TAR} && tar zxf ${TAR_PACKAGE} -C ${HOME_PATH} && rm -f ${TAR_PACKAGE}
eval "sed -i 's/logs_path/${LOGS_PATH}/' ${HOME_PATH}/filebeat/filebeat.yml" eval "sed -i 's/logs_path/${LOGS_PATH}/' ${HOME_PATH}/filebeat/filebeat.yml"
eval "sed -i 's/host_name/${HOST_NAME}/g' ${HOME_PATH}/filebeat/filebeat.yml" eval "sed -i 's/host_name/${HOST_NAME}/g' ${HOME_PATH}/filebeat/filebeat.yml"
chown -R root:root ${HOME_PATH}/filebeat/ chown -R root:root ${HOME_PATH}/filebeat/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment