From f92f97f53e3ee43c5d3b75673122ec9f94db196e Mon Sep 17 00:00:00 2001 From: mbeierl Date: Tue, 12 Sep 2017 16:34:24 -0400 Subject: Add Multi Arch to Docker Adds multi arch support to the launching of the containers. Change-Id: Iee89cfad3dc455fe8fdd7861d73fadbe314c2c1e JIRA: STORPERF-220 Signed-off-by: mbeierl --- ci/detect_installer.sh | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'ci/detect_installer.sh') diff --git a/ci/detect_installer.sh b/ci/detect_installer.sh index 035b7e2..afa1f74 100755 --- a/ci/detect_installer.sh +++ b/ci/detect_installer.sh @@ -8,15 +8,16 @@ # http://www.apache.org/licenses/LICENSE-2.0 ############################################################################## -which juju 2>/dev/null -if [ $? -eq 0 ] -then +if which juju >/dev/null 2>&1 ; then INSTALLER=joid fi -sudo virsh list --all | grep undercloud >/dev/null -if [ $? -eq 0 ] -then + +if sudo virsh list --all | grep -q undercloud ; then INSTALLER=apex fi -echo $INSTALLER \ No newline at end of file +if sudo virsh list --all | grep -q cfg01 ; then + INSTALLER=fuel +fi + +echo $INSTALLER -- cgit 1.2.3-korg