xci: Use distro specific ssh config while sshing to xci vms 63/52863/2
authorFatih Degirmenci <fdegir@gmail.com>
Wed, 28 Feb 2018 18:30:07 +0000 (18:30 +0000)
committerFatih Degirmenci <fdegir@gmail.com>
Wed, 28 Feb 2018 18:41:36 +0000 (18:41 +0000)
Change-Id: I5e8b738d4293040b2792a926cd13708180590bbb
Signed-off-by: Fatih Degirmenci <fdegir@gmail.com>
jjb/xci/xci-run-functest.sh

index 9f77b78..238a833 100755 (executable)
@@ -39,6 +39,6 @@ if ! sed -n "/^- scenario: $DEPLOY_SCENARIO$/,/^$/p" $OPNFV_SCENARIO_REQUIREMENT
     exit 0
 fi
 
-ssh -F $HOME/.ssh/xci-vm-config ${DISTRO}_xci_vm "cd releng-xci/xci && PATH=/home/devuser/.local/bin:$PATH ansible-playbook -i installer/osa/files/$XCI_FLAVOR/inventory playbooks/prepare-functest.yml"
+ssh -F $HOME/.ssh/${DISTRO}-xci-vm-config ${DISTRO}_xci_vm "cd releng-xci/xci && PATH=/home/devuser/.local/bin:$PATH ansible-playbook -i installer/osa/files/$XCI_FLAVOR/inventory playbooks/prepare-functest.yml"
 echo "Running functest"
-ssh -F $HOME/.ssh/xci-vm-config ${DISTRO}_xci_vm_opnfv "/root/run-functest.sh"
+ssh -F $HOME/.ssh/${DISTRO}-xci-vm-config ${DISTRO}_xci_vm_opnfv "/root/run-functest.sh"