Merge pull request #12813 from sni/patch-1

Update nfs_client.rb for rocky 9
This commit is contained in:
Paul Hinze 2022-07-29 11:12:47 -05:00 committed by GitHub
commit 6f44de5076
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,8 +7,10 @@ module VagrantPlugins
if command -v dnf; then
if `dnf info -q libnfs-utils > /dev/null 2>&1` ; then
dnf -y install nfs-utils libnfs-utils portmap
else
elif `dnf info -q nfs-utils-lib > /dev/null 2>&1` ; then
dnf -y install nfs-utils nfs-utils-lib portmap
else
dnf -y install nfs-utils portmap
fi
else
yum -y install nfs-utils nfs-utils-lib portmap