Skip to content

Commit cffd8fa

Browse files
committed
Support dual stack network, IP v4 and v6
1 parent 7463fa9 commit cffd8fa

File tree

4 files changed

+5
-3
lines changed

4 files changed

+5
-3
lines changed

jboss/container/eap/launch/common/added/openshift-launch.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ fi
2424

2525
function runServer() {
2626
local instanceDir=$1
27-
launchServer "$JBOSS_HOME/bin/standalone.sh -c standalone-openshift.xml -bmanagement 0.0.0.0 -Djboss.server.data.dir=${instanceDir} -Dwildfly.statistics-enabled=true"
27+
launchServer "$JBOSS_HOME/bin/standalone.sh -c standalone-openshift.xml -Djboss.server.data.dir=${instanceDir} -Dwildfly.statistics-enabled=true"
2828
}
2929

3030
function init_data_dir() {
@@ -56,4 +56,4 @@ else
5656

5757
runServer "${JBOSS_HOME}/standalone/data"
5858

59-
fi
59+
fi

jboss/container/eap/launch/common/added/openshift-migrate.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ RECOVERY_TIMEOUT=${RECOVERY_TIMEOUT:-360}
55
RECOVERY_PAUSE=${RECOVERY_PAUSE:-10}
66

77
function runMigrationServer() {
8-
exec $JBOSS_HOME/bin/standalone.sh -c standalone-openshift.xml -bmanagement 127.0.0.1 -Djboss.server.data.dir="$1" ${2} ${JAVA_PROXY_OPTIONS} ${JBOSS_HA_ARGS} ${JBOSS_MESSAGING_ARGS}
8+
exec $JBOSS_HOME/bin/standalone.sh -c standalone-openshift.xml -bmanagement ${SERVER_LOOPBACK_ADDRESS} -Djboss.server.data.dir="$1" ${2} ${JAVA_PROXY_OPTIONS} ${JBOSS_HA_ARGS} ${JBOSS_MESSAGING_ARGS}
99
}
1010

1111
source ${JBOSS_HOME}/bin/launch/openshift-migrate-common.sh

jboss/container/eap/launch/ee-no-sso/added/launch/launch-config.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
# wildfly-cekit-modules will look for each of the listed files and run them if they exist.
77
CONFIG_SCRIPT_CANDIDATES=(
88
$JBOSS_HOME/bin/launch/backward-compatibility.sh
9+
$JBOSS_HOME/bin/launch/ip.sh
910
$JBOSS_HOME/bin/launch/configure_extensions.sh
1011
$JBOSS_HOME/bin/launch/passwd.sh
1112
$JBOSS_HOME/bin/launch/messaging.sh

jboss/container/eap/launch/ee/added/launch/launch-config.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
# wildfly-cekit-modules will look for each of the listed files and run them if they exist.
77
CONFIG_SCRIPT_CANDIDATES=(
88
$JBOSS_HOME/bin/launch/backward-compatibility.sh
9+
$JBOSS_HOME/bin/launch/ip.sh
910
$JBOSS_HOME/bin/launch/configure_extensions.sh
1011
$JBOSS_HOME/bin/launch/passwd.sh
1112
$JBOSS_HOME/bin/launch/messaging.sh

0 commit comments

Comments
 (0)