Commit 6f1e61dd authored by Ophélie Gagnard's avatar Ophélie Gagnard

installation: Update directory name of fluent-bit and mca--static packages.

parent 2d5b9ff4
......@@ -23,7 +23,7 @@ wget "$FLUENTBIT_PACKAGE_URL"
apt -y install ./"$MCA_PACKAGE_FILE"
apt -y install ./"$FLUENTBIT_PACKAGE_FILE"
MCA_CONF_PATH="/opt/${MCA_NAME_AND_VERSION}/etc"
MCA_CONF_PATH="/opt/${MCA_PACKAGE_NAME}/etc"
CONF_REGEX="s|%WENDELIN_URL%|${WENDELIN_URL}|g;s|%WENDELIN_PWD%|${WENDELIN_PWD}|g;s|%WENDELIN_REFERENCE%|${WENDELIN_REFERENCE}|g"
sed "$CONF_REGEX" "${MCA_CONF_PATH}/flb.conf.in" > "${MCA_CONF_PATH}/flb.conf"
echo "Created ${MCA_CONF_PATH}/flb.conf from template ${MCA_CONF_PATH}/flb.conf.in"
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