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

Daniel P. Berrangé berrange at redhat.com
Thu Apr 12 10:00:49 UTC 2018


On Thu, Apr 12, 2018 at 11:54:16AM +0200, Andrea Bolognani wrote:
> 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.

"yum autoremove" is a command for reliably screwing up your system and
should never be run without manual inspection of what it is going todo.

Regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|




More information about the libvir-list mailing list