Sha256: 156eedcbe8f7c55f99a789c2e92da8586744eca1d5f10db0351be6bd7fdaaca0
Contents?: true
Size: 539 Bytes
Versions: 4
Compression:
Stored size: 539 Bytes
Contents
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") case machine.guest.capability("flavor") when :rhel_7 comm.sudo("/bin/systemctl restart rpcbind nfs") else comm.sudo("/etc/init.d/rpcbind restart; /etc/init.d/nfs restart") end end end end end end end
Version data entries
4 entries across 1 versions & 1 rubygems