Fix the devstack octavia plugin for non ubuntu distributions
The plugin.sh script should refrain from using apt-get directly. By doing so, package installation (in our case qemu and kpartx) fails for non ubuntu distributions. This Fix uses the install_package wrapper function, which is part of devstack. Change-Id: Ie602fbb6f7a39ceff11354ee95d99fe1e267a4ed Closes-Bug: 1465618
This commit is contained in:
parent
d44b53fa92
commit
d0f9a5ccdc
@ -5,7 +5,7 @@
|
||||
function octavia_install {
|
||||
|
||||
setup_develop $OCTAVIA_DIR
|
||||
sudo apt-get -y install qemu kpartx
|
||||
install_package qemu kpartx
|
||||
git_clone https://git.openstack.org/openstack/diskimage-builder.git $DEST/diskimage-builder master
|
||||
git_clone https://git.openstack.org/openstack/tripleo-image-elements.git $DEST/tripleo-image-elements master
|
||||
sudo pip install -r $DEST/diskimage-builder/requirements.txt
|
||||
|
Loading…
Reference in New Issue
Block a user