Update nodemgmt-scripts.sh

This commit is contained in:
2019-03-03 10:36:24 -06:00
parent 4a6caedab9
commit 9c824ee659

View File

@@ -1395,6 +1395,7 @@ HAPROXY-CONFIG() {
fi
echo -en "Creating File on iDS-MySQL${nid} ($nip)... ${idsCL[Default]}"
${NCMD} nodemgmt update q
${NCMD} "rm -f /etc/haproxy/haproxy.cfg"
${NCMD} "sed -e 's;%NIP%;${nip};g' ${FOLDER}/templates/haproxy.config > /etc/haproxy/haproxy.cfg"