synced_folders/nfs: Register `nfs_client_install` caps to correct distros
This commit is contained in:
parent
99a23242ec
commit
e979b84d36
|
@ -21,7 +21,7 @@ module VagrantPlugins
|
|||
Cap::ChangeHostName
|
||||
end
|
||||
|
||||
guest_capability("linux", "nfs_client_install") do
|
||||
guest_capability("debian", "nfs_client_install") do
|
||||
require_relative "cap/nfs_client"
|
||||
Cap::NFSClient
|
||||
end
|
||||
|
|
|
@ -26,7 +26,7 @@ module VagrantPlugins
|
|||
Cap::NetworkScriptsDir
|
||||
end
|
||||
|
||||
guest_capability("linux", "nfs_client_install") do
|
||||
guest_capability("redhat", "nfs_client_install") do
|
||||
require_relative "cap/nfs_client"
|
||||
Cap::NFSClient
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue