diff options
author | mbeierl <mark.beierl@dell.com> | 2017-09-12 16:34:24 -0400 |
---|---|---|
committer | mbeierl <mark.beierl@dell.com> | 2017-09-14 14:52:26 -0400 |
commit | f92f97f53e3ee43c5d3b75673122ec9f94db196e (patch) | |
tree | 51e284845da8b9d9797d05210a58660061f9d1fa /ci/detect_installer.sh | |
parent | 9b2ba68b75ecd50600e6f375aeb4ea410cec0128 (diff) |
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 <mark.beierl@dell.com>
Diffstat (limited to 'ci/detect_installer.sh')
-rwxr-xr-x | ci/detect_installer.sh | 15 |
1 files changed, 8 insertions, 7 deletions
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 |