Merge "Bionic: Enable Train UCA for updated QEMU and libvirt"
This commit is contained in:
commit
eac2b0789c
@ -73,6 +73,18 @@ function fixup_ubuntu {
|
|||||||
# Enable universe
|
# Enable universe
|
||||||
sudo add-apt-repository -y universe
|
sudo add-apt-repository -y universe
|
||||||
|
|
||||||
|
if [[ -f /etc/ci/mirror_info.sh ]] ; then
|
||||||
|
# If we are on a nodepool provided host and it has told us about
|
||||||
|
# where we can find local mirrors then use that mirror.
|
||||||
|
source /etc/ci/mirror_info.sh
|
||||||
|
sudo apt-add-repository -y "deb $NODEPOOL_UCA_MIRROR bionic-updates/train main"
|
||||||
|
else
|
||||||
|
# Enable UCA:train for updated versions of QEMU and libvirt
|
||||||
|
sudo add-apt-repository -y cloud-archive:train
|
||||||
|
fi
|
||||||
|
REPOS_UPDATED=False
|
||||||
|
apt_get_update
|
||||||
|
|
||||||
# Since pip10, pip will refuse to uninstall files from packages
|
# Since pip10, pip will refuse to uninstall files from packages
|
||||||
# that were created with distutils (rather than more modern
|
# that were created with distutils (rather than more modern
|
||||||
# setuptools). This is because it technically doesn't have a
|
# setuptools). This is because it technically doesn't have a
|
||||||
|
Loading…
x
Reference in New Issue
Block a user