[libvirt] [jenkins-ci PATCH] guests: Clean up packages after update

Andrea Bolognani abologna at redhat.com
Thu Apr 12 09:54:16 UTC 2018


On Thu, 2018-04-12 at 10:29 +0200, Pavel Hrdina wrote:
> On Mon, Apr 09, 2018 at 03:56:05PM +0200, Andrea Bolognani wrote:
> > +- name: Clean up packages after update
> > +  command: yum clean packages -y
> > +  args:
> > +    warn: no
> > +  when:
> > +    - package_format == 'rpm'
> 
> Would it be possible to add 'yum autoremove -y'? Only CentOS 6 doesn't
> have that command.

Good point, I must not have found out about it because I was
looking at CentOS 6 :) I'll post v2 in a bit.

-- 
Andrea Bolognani / Red Hat / Virtualization




More information about the libvir-list mailing list