From 76b3993f300863aa08e5155abc68d85d0616ac16 Mon Sep 17 00:00:00 2001 From: iSergio Date: Thu, 27 Sep 2018 14:00:46 +0300 Subject: [PATCH] Fix with jboss config --- jboss/bin/undeploy-cluster | 2 +- jboss/configure.sh | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/jboss/bin/undeploy-cluster b/jboss/bin/undeploy-cluster index 32e57dd..3d87948 100755 --- a/jboss/bin/undeploy-cluster +++ b/jboss/bin/undeploy-cluster @@ -50,7 +50,7 @@ while getopts ':l' option; do done if [[ $INFO == true ]]; then - jboss-cli.sh --controller=$CONTROLLER --connect --commands="deployment-info --server-group=main-server-group" + jboss-cli.sh --controller=$CONTROLLER --connect --commands="deployment-info --server-group=cluster-server-group" exit 0 fi diff --git a/jboss/configure.sh b/jboss/configure.sh index 6cc7b5d..5da0ce1 100755 --- a/jboss/configure.sh +++ b/jboss/configure.sh @@ -145,6 +145,8 @@ ln -sf ${JBOSS_HOME}"/bin/jboss-cli.sh" ${JBOSS_HOME}"/bin/jboss-cli" # Install my tools cp -rf bin/dodeploy* /usr/local/bin/ chmod +x /usr/local/bin/dodeploy* +cp -rf bin/undeploy-cluster +chmod +x bin/undeploy-cluster sed -i 's/__CONTROLLER__/'$HOST'/g' /usr/local/bin/dodeploy sed -i 's/__CONTROLLER__/'$HOST'/g' /usr/local/bin/undeploy-cluster -- GitLab