[libvirt] [jenkins-ci PATCH v2 5/8] guests: Install EPEL repo on all CentOS guests

Andrea Bolognani abologna at redhat.com
Wed Dec 11 12:31:29 UTC 2019


On Wed, 2019-12-11 at 13:25 +0100, Fabiano Fidêncio wrote:
> This is the fixup for this patch:
> ```
> diff --git a/guests/lcitool b/guests/lcitool
> index 803477e..059b789 100755
> --- a/guests/lcitool
> +++ b/guests/lcitool
> @@ -748,7 +748,7 @@ class Application:
>                          {package_manager} autoremove -y && \\
>                          {package_manager} clean all -y
>                  """).format(**varmap))
> -            elif os_name == "CentOS" and os_version == "7":
> +            elif os_name == "CentOS":
>                  sys.stdout.write(textwrap.dedent("""
>                      RUN {package_manager} update -y && \\
>                          {package_manager} install -y epel-release && \\
> ```

Looks good!

(Note that our mailing list doesn't support Markdown syntax ;)

-- 
Andrea Bolognani / Red Hat / Virtualization




More information about the libvir-list mailing list