test/vm_setup: Add nbd install for Centos8
Signed-off-by: Maciej Wawryk <maciejx.wawryk@intel.com> Change-Id: Ie687d29841ed41c88e26cef803bd23be8c009833 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/1499 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> Reviewed-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com>
This commit is contained in:
parent
6fed4f6110
commit
6ee4bdab18
@ -518,8 +518,13 @@ if $INSTALL; then
|
||||
bc \
|
||||
kernel-modules-extra \
|
||||
systemd-devel \
|
||||
python3 \
|
||||
nbd
|
||||
python3
|
||||
|
||||
sudo yum install -y nbd || {
|
||||
wget -O nbd.rpm https://download-ib01.fedoraproject.org/pub/epel/7/x86_64/Packages/n/nbd-3.14-2.el7.x86_64.rpm
|
||||
sudo yum install -y nbd.rpm
|
||||
}
|
||||
|
||||
elif [ $PACKAGEMNG == 'dnf' ]; then
|
||||
if echo $CONF | grep -q tsocks; then
|
||||
# currently, tsocks package is retired in fedora 31, so don't exit in case
|
||||
|
Loading…
Reference in New Issue
Block a user