From 3f5d0384364bbabcfbf68128e3b7e347aceddbe6 Mon Sep 17 00:00:00 2001 From: Alexandru Avadanii Date: Mon, 2 Oct 2017 22:16:38 +0200 Subject: 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 (cherry picked from commit 77c7d358bc6a61e2a5c24c6056cc3e40561f27c7) --- tests/ci/load_images.sh | 1 + 1 file changed, 1 insertion(+) (limited to 'tests/ci/load_images.sh') 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 -- cgit 1.2.3-korg