[libvirt] [jenkins-ci PATCH 2/2] guests: Only install OpenVZ on CentOS 7

Fabiano Fidêncio posted 2 patches 6 years, 1 month ago
[libvirt] [jenkins-ci PATCH 2/2] guests: Only install OpenVZ on CentOS 7
Posted by Fabiano Fidêncio 6 years, 1 month ago
OpenVZ has been added as part of commit 0a7993d3ed30ae. However, it's
wrongly set to be installed on any supported CentOS.

Signed-off-by: Fabiano Fidêncio <fidencio@redhat.com>
---
 guests/playbooks/update/tasks/base.yml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/guests/playbooks/update/tasks/base.yml b/guests/playbooks/update/tasks/base.yml
index f721e39..f085f19 100644
--- a/guests/playbooks/update/tasks/base.yml
+++ b/guests/playbooks/update/tasks/base.yml
@@ -50,6 +50,7 @@
     group: root
   when:
     - os_name == 'CentOS'
+    - os_version == '7'
 
 - name: Update installed packages
   package:
-- 
2.23.0

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
Re: [libvirt] [jenkins-ci PATCH 2/2] guests: Only install OpenVZ on CentOS 7
Posted by Andrea Bolognani 6 years, 1 month ago
On Mon, 2019-12-16 at 12:55 +0100, Fabiano Fidêncio wrote:
> OpenVZ has been added as part of commit 0a7993d3ed30ae. However, it's
> wrongly set to be installed on any supported CentOS.
> 
> Signed-off-by: Fabiano Fidêncio <fidencio@redhat.com>
> ---
>  guests/playbooks/update/tasks/base.yml | 1 +
>  1 file changed, 1 insertion(+)

Reviewed-by: Andrea Bolognani <abologna@redhat.com>

-- 
Andrea Bolognani / Red Hat / Virtualization

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list