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:
parent
c9d3d5a159
commit
d6225f0116
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user