From 1f3ac2a5c73153b8d86012b0876420a3524685be Mon Sep 17 00:00:00 2001 From: Cady_Chen Date: Wed, 29 Mar 2017 14:35:05 +0800 Subject: [PATCH] Allow nfs, rpcbind and mountd service on server firewall In order to slove the problem of running `vagrant up` hangs on NFS mounting, we can allow these services on server firewall. Change-Id: I70fb072b6103fa662fcfaaafd0f8f57e45193798 Closes-Bug: #1675378 --- doc/vagrant-dev-env.rst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/doc/vagrant-dev-env.rst b/doc/vagrant-dev-env.rst index feb877e577..e6e01939ab 100644 --- a/doc/vagrant-dev-env.rst +++ b/doc/vagrant-dev-env.rst @@ -74,10 +74,15 @@ method, NFS allows both way synchronization and offers much better performance than VirtualBox shared folders. On Fedora 22:: sudo systemctl start nfs-server + sudo systemctl start rpcbind.service + sudo systemctl start mountd.service firewall-cmd --permanent --add-port=2049/udp firewall-cmd --permanent --add-port=2049/tcp firewall-cmd --permanent --add-port=111/udp firewall-cmd --permanent --add-port=111/tcp + firewall-cmd --permanent --add-service=nfs + firewall-cmd --permanent --add-service=rpcbind + firewall-cmd --permanent --add-service=mountd sudo systemctl restart firewalld Ensure your system has libvirt and associated software installed and setup