Browse code

Restore qemu-kvm install for CentOS

The kvmibm removal I009ae4779588615633bff81d0c47a1b879ec9279
incorrectly removed this (the check was install if *not* kvmibm).
Since we don't support kvmibm any more, it should be safe to install
everywhere as done here.

For the full history, it started with us installing qemu-kvm-ev with
Ide91b261f35fb19d8bd7155ca016fa3b76a45ea1, then we fixed it to be more
generic and just install qemu-kvm with
I46da627c0da8925064862fdc283db81591979285, then Fedora 26 support in
I5c79ad1ef0b11dba30c931a59786f9eb7e7f8587 made this install everywhere
*but* kvmibm.

Change-Id: If3e9661451ad1055e7c8d670605a53095f0aeda4

Ian Wienand authored on 2017/11/17 08:33:11
Showing 1 changed files
... ...
@@ -72,6 +72,13 @@ function install_libvirt {
72 72
         pip_install_gr libvirt-python
73 73
         #pip_install_gr <there-si-no-guestfs-in-pypi>
74 74
     elif is_fedora || is_suse; then
75
+
76
+        # Note that in CentOS/RHEL this needs to come from the RDO
77
+        # repositories (qemu-kvm-ev ... which provides this package)
78
+        # as the base system version is too old.  We should have
79
+        # pre-installed these
80
+        install_package qemu-kvm
81
+
75 82
         install_package libvirt libvirt-devel
76 83
         pip_uninstall libvirt-python
77 84
         pip_install_gr libvirt-python