summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorg Kunz <georg.kunz@ericsson.com>2018-05-15 16:28:27 +0200
committerGeorg Kunz <georg.kunz@ericsson.com>2018-05-17 13:22:10 +0200
commit82186f604ac1cdb4d65c541555d5278a5f875514 (patch)
treed24cf43dbbd5352c3391aaa8cd4426f8ff7c5b17
parentf0774918777561fd00c996438436c2ef7f4d67ff (diff)
[Dovetail] Changing the path of the ssh key in pod.yaml for yardstick
The ssh key is already available in the userconfig directory mounted by Dovetail inside the Yardstick container. Change-Id: Ic72473e9e47b625fbf4a0f8a8fb140aaed72b69a Signed-off-by: Georg Kunz <georg.kunz@ericsson.com>
-rwxr-xr-xjjb/dovetail/dovetail-run.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/jjb/dovetail/dovetail-run.sh b/jjb/dovetail/dovetail-run.sh
index 9616fb310..df681dd59 100755
--- a/jjb/dovetail/dovetail-run.sh
+++ b/jjb/dovetail/dovetail-run.sh
@@ -124,7 +124,7 @@ if [[ ! "${SUT_BRANCH}" =~ "danube" && ${INSTALLER_TYPE} == 'fuel' && ${DEPLOY_T
awk '{print \$2; exit}'") &> /dev/null
cat << EOF >${DOVETAIL_CONFIG}/pod.yaml
nodes:
-- {ip: ${fuel_ctl_ip}, name: node1, key_filename: /root/.ssh/id_rsa, role: controller, user: ${ssh_user}}
+- {ip: ${fuel_ctl_ip}, name: node1, key_filename: /home/opnfv/userconfig/pre_config/id_rsa, role: controller, user: ${ssh_user}}
EOF
fi
@@ -154,7 +154,8 @@ if [[ ! -f ${DOVETAIL_CONFIG}/pod.yaml ]]; then
fi
cmd="sudo python ${releng_repo}/utils/create_pod_file.py -t ${INSTALLER_TYPE} \
- -i ${INSTALLER_IP} ${options} -f ${DOVETAIL_CONFIG}/pod.yaml"
+ -i ${INSTALLER_IP} ${options} -f ${DOVETAIL_CONFIG}/pod.yaml \
+ -s /home/opnfv/userconfig/pre_config/id_rsa"
echo ${cmd}
${cmd}