Merge "Fix install_libvirt for other RHEL-based distros"

This commit is contained in:
Jenkins 2017-03-06 06:22:28 +00:00 committed by Gerrit Code Review
commit 6def6020fc

View File

@ -39,13 +39,11 @@ function install_libvirt {
fi
if [[ ${DISTRO} =~ "rhel7" ]]; then
# On centos7 install the qemu-kvm-ev package, which is a
# later version of qemu-kvm rebuilt from the qemu-kvm-rhev
# package by the virt SIG (as required by nova). This
# package is only provided for RHOS (openstack) or RHV
# (ovirt) in RHEL. We have already insalled the RDO
# repositories which provide this.
install_package qemu-kvm-ev
# This should install the latest qemu-kvm build,
# which is called qemu-kvm-ev in centos7
# (as the default OS qemu-kvm package is usually rather old,
# and should be updated by above)
install_package qemu-kvm
fi
install_package libvirt libvirt-devel