From b96dc972e0162cdf44a630ce7ab048457bbc150b Mon Sep 17 00:00:00 2001 From: Salimane Adjao Moustapha Date: Mon, 23 Jun 2014 14:56:10 +0200 Subject: [PATCH 1/2] install rpc package while installing nfs client on centos guests --- plugins/guests/redhat/cap/nfs_client.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/guests/redhat/cap/nfs_client.rb b/plugins/guests/redhat/cap/nfs_client.rb index 51d5a8359..a049a5cf4 100644 --- a/plugins/guests/redhat/cap/nfs_client.rb +++ b/plugins/guests/redhat/cap/nfs_client.rb @@ -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 From dd74a82d569e3cdbc82afd87238584ca449f0929 Mon Sep 17 00:00:00 2001 From: Salimane Adjao Moustapha Date: Mon, 23 Jun 2014 17:17:54 +0200 Subject: [PATCH 2/2] avahi not needed --- plugins/guests/redhat/cap/nfs_client.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/guests/redhat/cap/nfs_client.rb b/plugins/guests/redhat/cap/nfs_client.rb index a049a5cf4..98858f70f 100644 --- a/plugins/guests/redhat/cap/nfs_client.rb +++ b/plugins/guests/redhat/cap/nfs_client.rb @@ -4,7 +4,7 @@ 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 avahi") + comm.sudo("yum -y install nfs-utils nfs-utils-lib") comm.sudo("/etc/init.d/rpcbind restart; /etc/init.d/nfs restart") end end