Apex, Yardstick: Fixes fetching creds 91/40591/1
authorTim Rozet <trozet@redhat.com>
Tue, 29 Aug 2017 13:57:48 +0000 (09:57 -0400)
committerTim Rozet <trozet@redhat.com>
Tue, 29 Aug 2017 13:57:48 +0000 (09:57 -0400)
commit5b8d42064af9ee791b72bcda840decffd9e18c66
tree58e1eee6b68c519aea2c84f0e3697c1ad10d9da9
parentccd98e34b65d3273d2919e2aa7f90e8bfa8f89a2
Apex, Yardstick: Fixes fetching creds

There is a bug where by default the INSTALLER_IP is set to 192.168.X.X
and in yardstick the IP is never found for Apex before trying to fetch,
so fetching fails to an invalid IP address.

This patch makes fetch os creds more robust to check if the INSTALLER_IP
is valid and if not, then attempt to find the correct IP for Apex.

Change-Id: Ie18d6e70f77ccff3592fb37c6d0b6e87b6435cf8
Signed-off-by: Tim Rozet <trozet@redhat.com>
utils/fetch_os_creds.sh