We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1a7c698 commit 136ea33Copy full SHA for 136ea33
modules/eap/setup/eap/modules/added/launch/ha.sh
@@ -289,7 +289,7 @@ generate_dns_ping_config() {
289
290
configure_ha_args() {
291
# Set HA args
292
- IP_ADDR=`hostname -i`
+ IP_ADDR=`hostname -i | cut -d " " -f1`
293
JBOSS_HA_ARGS="-b ${JBOSS_HA_IP:-${IP_ADDR}} -bprivate ${JBOSS_HA_IP:-${IP_ADDR}}"
294
295
init_node_name
@@ -335,4 +335,4 @@ configure_ha() {
335
elif [ "${CONF_PING_MODE}" = "cli" ]; then
336
echo "${ping_protocol_element}" >> ${CLI_SCRIPT_FILE};
337
fi
338
-}
+}
0 commit comments