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:
parent
3d4c6d2dd1
commit
1f92d44544
@ -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
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user