Skip to content
This repository has been archived by the owner on Jan 29, 2024. It is now read-only.

Commit

Permalink
Binds jgroups to the network interface, as IP binding requires a 'hos…
Browse files Browse the repository at this point in the history
…tname -i' command
  • Loading branch information
solsson committed Mar 23, 2017
1 parent efad7be commit 67483e6
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions server-ha-mysql/jgroups-tcp-jdbc.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,13 @@
<xsl:comment> jgroups-mping was removed at switch to JDBC_PING </xsl:comment>
</xsl:template>

<xsl:template match="/domain:server/domain:interfaces/domain:interface[@name='private']">
<xsl:copy>
<xsl:apply-templates select="@*"/>
<nic xmlns="urn:jboss:domain:4.0" name="eth0"/>
</xsl:copy>
</xsl:template>

<xsl:template match="@*|node()">
<xsl:copy>
<xsl:apply-templates select="@*|node()"/>
Expand Down

0 comments on commit 67483e6

Please sign in to comment.