From 2c809b6c7930dba86ab92f5f2f356a7a7e54db56 Mon Sep 17 00:00:00 2001 From: Pablo Greco Date: Jul 28 2019 18:05:40 +0000 Subject: Fix nfs test in CentOS8 --- diff --git a/tests/p_nfs/0-install_nfs.sh b/tests/p_nfs/0-install_nfs.sh index 1d43b52..091f42c 100755 --- a/tests/p_nfs/0-install_nfs.sh +++ b/tests/p_nfs/0-install_nfs.sh @@ -10,5 +10,9 @@ else t_ServiceControl rpcbind restart fi +if [ "$centos_ver" -ge 8 ] ; then +t_ServiceControl nfs-server start +else # Restart because usualy NFS is enabled by default on CentOS-5 t_ServiceControl nfs restart +fi