vm_setup: Install qemu packages on yum-based systems

Change-Id: Ifdaf1e03e82a3167d994945661d9e5f0fba9224e
Signed-off-by: Michal Berger <michalx.berger@intel.com>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/2677
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Karol Latecki <karol.latecki@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
This commit is contained in:
Michal Berger 2020-05-28 18:08:29 +02:00 committed by Tomasz Zawadzki
parent c9d3d5a159
commit d6225f0116

View File

@ -218,6 +218,8 @@ function install_qemu() {
sudo apt-get install -y qemu-system-x86 qemu-img
elif [ "$PACKAGEMNG" = "pacman" ]; then
sudo pacman -Sy --needed --noconfirm qemu
elif [[ $PACKAGEMNG == "yum" ]]; then
sudo yum install -y qemu-system-x86 qemu-img
fi
# Forked QEMU