Fix virtualization detection for Fedora jobs
Previously, the facter detection for virtual machines could fail
to detect an OpenStack VM as such, creating issues in CI jobs because
we selected KVM virtualization instead of QEMU.
This can be fixed by adding the virt-what binary, which is used by
facter to detect if a machine is virtual or not [1].
[1] - 2aa2d1cd64/lib/src/facts/linux/virtualization_resolver.cc (L62-L64)
Change-Id: I9278887bfdbca209e7f3498273b85edd8efd987f
This commit is contained in:
parent
7e5150f565
commit
fd11a9d531
@ -20,7 +20,7 @@
|
||||
dnf clean all
|
||||
sudo sed -i '/^exclude.*/d' /etc/dnf/dnf.conf
|
||||
dnf -y install libxml2-devel libxslt-devel ruby-devel zlib-devel
|
||||
dnf -y install gcc gettext diffstat doxygen patch patchutils subversion systemtap git python-setuptools wget redhat-lsb-core libselinux-python yum-plugin-priorities dnf-yum
|
||||
dnf -y install gcc gettext diffstat doxygen patch patchutils subversion systemtap git python-setuptools wget redhat-lsb-core libselinux-python yum-plugin-priorities dnf-yum virt-what
|
||||
pip uninstall requests -y || true
|
||||
executable: /bin/bash
|
||||
chdir: '{{ ansible_user_dir }}/workspace'
|
||||
|
Loading…
Reference in New Issue
Block a user