diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-12-15 18:09:03 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-12-15 18:09:03 +0000 |
commit | 7bc9c63c9da678a7e6fceb095d56c634afd22c56 (patch) | |
tree | 4a67d50a439e9af63947e5f8b6ba3719af98b6c9 /sys-cluster/galera/files | |
parent | b284a3168fa91a038925d2ecf5e4791011ea5e7d (diff) |
gentoo resync : 15.12.2019
Diffstat (limited to 'sys-cluster/galera/files')
-rw-r--r-- | sys-cluster/galera/files/garb.init | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys-cluster/galera/files/garb.init b/sys-cluster/galera/files/garb.init index 5bf57a7a683e..6da7a7582286 100644 --- a/sys-cluster/galera/files/garb.init +++ b/sys-cluster/galera/files/garb.init @@ -26,7 +26,8 @@ start_pre() { GALERA_PORT=${GALERA_PORT:-4567} - local OPTIONS="-a gcomm://${GALERA_NODES// /,} -g ${GALERA_GROUP}" + local nodes=$(echo "${GALERA_NODES}" | awk '{ gsub(" ", ",") ; print $0 }') + local OPTIONS="-a gcomm://${nodes} -g ${GALERA_GROUP}" [ -n "${GALERA_OPTIONS}" ] && OPTIONS="${OPTIONS} -o ${GALERA_OPTIONS}" [ -n "${LOG_FILE}" ] && OPTIONS="${OPTIONS} -l ${LOG_FILE}" [ -n "${NODE_NAME}" ] && OPTIONS="${OPTIONS} -n ${NODE_NAME}" |