summaryrefslogtreecommitdiffstats
path: root/tests
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 21:12:28 +0000
commit3f5d0384364bbabcfbf68128e3b7e347aceddbe6 (patch)
treeb180cf33cca76703153136fb414c3f75532ecb40 /tests
parent8aaa7d27cd491e8a78421ffcf0af01e6101a0bf4 (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> (cherry picked from commit 77c7d358bc6a61e2a5c24c6056cc3e40561f27c7)
Diffstat (limited to 'tests')
-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