install rpc package while installing nfs client on centos guests
This commit is contained in:
parent
1e28f1ac31
commit
b96dc972e0
|
@ -4,7 +4,8 @@ module VagrantPlugins
|
|||
class NFSClient
|
||||
def self.nfs_client_install(machine)
|
||||
machine.communicate.tap do |comm|
|
||||
comm.sudo("yum -y install nfs-utils nfs-utils-lib")
|
||||
comm.sudo("yum -y install nfs-utils nfs-utils-lib avahi")
|
||||
comm.sudo("/etc/init.d/rpcbind restart; /etc/init.d/nfs restart")
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue