Merge pull request #4088 from salimane/pr_nfs_rpcbind_centos

guests/centos: Restart rpcbind and nfs while installing nfs client on centos guests
This commit is contained in:
Mitchell Hashimoto 2014-08-06 10:47:38 -07:00
commit 3f456cdf45
1 changed files with 1 additions and 0 deletions

View File

@ -5,6 +5,7 @@ module VagrantPlugins
def self.nfs_client_install(machine)
machine.communicate.tap do |comm|
comm.sudo("yum -y install nfs-utils nfs-utils-lib")
comm.sudo("/etc/init.d/rpcbind restart; /etc/init.d/nfs restart")
end
end
end