Yardstick, Apex: Fixes yardstick to use right Apex vm name (undercloud) 47/14847/1
authorTim Rozet <trozet@redhat.com>
Mon, 30 May 2016 19:38:47 +0000 (15:38 -0400)
committerTim Rozet <trozet@redhat.com>
Mon, 30 May 2016 19:38:47 +0000 (15:38 -0400)
Change-Id: I709dbf36667202ed0e1feb4793aa10071dc137c4
Signed-off-by: Tim Rozet <trozet@redhat.com>
jjb/yardstick/yardstick-daily.sh

index 3ad6b7c..51fc9c8 100755 (executable)
@@ -6,7 +6,7 @@ set -e
 labconfig=""
 sshkey=""
 if [[ ${INSTALLER_TYPE} == 'apex' ]]; then
-    instack_mac=$(sudo virsh domiflist instack | grep default | \
+    instack_mac=$(sudo virsh domiflist undercloud | grep default | \
                   grep -Eo "[0-9a-f]+:[0-9a-f]+:[0-9a-f]+:[0-9a-f]+:[0-9a-f]+:[0-9a-f]+")
     INSTALLER_IP=$(/usr/sbin/arp -e | grep ${instack_mac} | awk {'print $1'})
     sshkey="-v /root/.ssh/id_rsa:/root/.ssh/id_rsa"