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:
commit
3f456cdf45
|
@ -5,6 +5,7 @@ module VagrantPlugins
|
||||||
def self.nfs_client_install(machine)
|
def self.nfs_client_install(machine)
|
||||||
machine.communicate.tap do |comm|
|
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")
|
||||||
|
comm.sudo("/etc/init.d/rpcbind restart; /etc/init.d/nfs restart")
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue