fix "add-apt-repository: command not found" error
For the "happy path" to makes things work, we use the Ubuntu Cloud Archives. This repository has to be added. The command to do that is not available on the gate test nodes [1]. This change installs a package which brings the command "add-apt-repository" with it. References: [1] https://github.com/openstack-infra/project-config/commit/ f90d35885e1143e5a1b67804735fd0c2f294457c Change-Id: I608c8a35297765283a61ddfadf32d8191186d6c3
This commit is contained in:
parent
ccf81ca8ef
commit
d126b3f92e
@ -13,6 +13,9 @@ set +o xtrace
|
||||
# Uses globals ``REQUIREMENTS_DIR``
|
||||
# Uses functions ``get_from_global_requirements``
|
||||
function pre_install_libvirt_ubuntu {
|
||||
# NOTE(markus_z): The command "add-apt-repository" is not available
|
||||
# in the test nodes. We add it here:
|
||||
sudo apt-get install -y software-properties-common
|
||||
# We don't use install_package as we know we're on ubuntu and we do a few
|
||||
# "special" things to make the plugin "just work"
|
||||
sudo add-apt-repository -y cloud-archive:liberty
|
||||
|
Loading…
x
Reference in New Issue
Block a user