Commit ad309684 authored by Ophélie Gagnard's avatar Ophélie Gagnard

Fixup 9727f16d

Do not override the WENDELIN_REFERENCE macro in flb.conf when installing
MCA package.
parent e9d74969
...@@ -26,6 +26,6 @@ apt -y install ./"$MCA_PACKAGE_FILE" ...@@ -26,6 +26,6 @@ apt -y install ./"$MCA_PACKAGE_FILE"
apt -y install ./"$FLB_PACKAGE_FILE" apt -y install ./"$FLB_PACKAGE_FILE"
MCA_CONF_PATH="/opt/${MCA_PACKAGE_NAME}/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" CONF_REGEX="s|%WENDELIN_URL%|${WENDELIN_URL}|g;s|%WENDELIN_PWD%|${WENDELIN_PWD}|g"
sed "$CONF_REGEX" "${MCA_CONF_PATH}/flb.conf.in" > "${MCA_CONF_PATH}/flb.conf" 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" 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