Use apt_get_update after we setup UCA

It is possible some CI system are using an http_proxy. Use the helper
function to cover this use case.

Change-Id: Iee685147ca0244fc7de328a765f937602223de20
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
Paul Belanger 2017-04-13 12:07:57 -04:00
parent 3d4c6d2dd1
commit 1f92d44544
No known key found for this signature in database
GPG Key ID: 611A80832067AF38
1 changed files with 3 additions and 1 deletions

View File

@ -91,7 +91,9 @@ if [[ "$DISTRO" = "xenial" ]]; then
# Otherwise use upstream UCA
sudo add-apt-repository -y cloud-archive:ocata
fi
sudo apt-get update
# Force update our APT repos, since we added UCA above.
REPOS_UPDATED=False
apt_get_update
fi