As mentioned in [1] and detailed in [2], Fedora is planning to drop
the 'yum' command and require users to call 'dnf' exclusively.
In fact, it looks like this change has already been implemented in
Rawhide, so we need to adapt sooner rather than later.
The first two patches address the actual compatibility issue, while
the remaining ones perform some cleanups which are either made much
easier by the previous changes or I just happened to stumble upon
while working on this :)
[1]
https://www.redhat.com/archives/libvir-list/2019-May/msg00043.html
[2]
https://fedoraproject.org/wiki/Changes/Retire_YUM_3
Andrea Bolognani (4):
guests: Introduce package_manager
guests: Use package_manager everywhere
guests: Don't call out to the shell twice
lcitool: Fix Dockerfile alignment
guests/host_vars/libvirt-centos-7/main.yml | 1 +
guests/host_vars/libvirt-debian-9/main.yml | 1 +
guests/host_vars/libvirt-debian-sid/main.yml | 1 +
guests/host_vars/libvirt-fedora-29/main.yml | 1 +
guests/host_vars/libvirt-fedora-30/main.yml | 1 +
.../host_vars/libvirt-fedora-rawhide/main.yml | 1 +
guests/host_vars/libvirt-freebsd-11/main.yml | 1 +
guests/host_vars/libvirt-freebsd-12/main.yml | 1 +
.../libvirt-freebsd-current/main.yml | 1 +
guests/host_vars/libvirt-ubuntu-18/main.yml | 1 +
guests/lcitool | 48 ++++++++++---------
guests/playbooks/update/tasks/base.yml | 19 ++------
guests/playbooks/update/tasks/bootstrap.yml | 16 +------
13 files changed, 42 insertions(+), 51 deletions(-)
--
2.20.1