If guests have the following capabilities, automatic NFS client installation will be done: * nfs_client_installed - Checks if the NFS client is installed * nfs_client_install - Install the NFS client Support is already in for Debian, Ubuntu, RedHat, CentOS, and Fedora
14 lines
287 B
Ruby
14 lines
287 B
Ruby
module VagrantPlugins
|
|
module GuestRedHat
|
|
module Cap
|
|
class NFSClient
|
|
def self.nfs_client_install(machine)
|
|
machine.communicate.tap do |comm|
|
|
comm.sudo("yum -y install nfs-utils nfs-utils-lib")
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|