summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>2017-10-02 22:16:38 +0200
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>2017-10-02 22:18:42 +0200
commit77c7d358bc6a61e2a5c24c6056cc3e40561f27c7 (patch)
treeae11159e62e74e33f3e85d627b8c0e718b432849
parent816c5b7ad281d792b972609ad08af5986cc22235 (diff)
load_images.sh: Add missing ssh_options
Empty ssh_options led to ssh login failure, which stopped the whole script. Change-Id: I8374a30a02b14d04eb0f623a0c58d7ebed77a589 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
-rwxr-xr-xtests/ci/load_images.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/ci/load_images.sh b/tests/ci/load_images.sh
index 89ebb2dde..689d919e2 100755
--- a/tests/ci/load_images.sh
+++ b/tests/ci/load_images.sh
@@ -20,6 +20,7 @@ fi
# Look for a compute node, that is online, and check if it is aarch64
if [ "${INSTALLER_TYPE}" == 'fuel' ]; then
+ ssh_options="-o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no"
COMPUTE_ARCH=$(ssh -l ubuntu ${INSTALLER_IP} -i ${SSH_KEY} ${ssh_options} \
"sudo salt 'cmp*' grains.get cpuarch --out yaml | awk '{print \$2; exit}'")
if [ "${COMPUTE_ARCH}" == 'aarch64' ]; then