Skip to content

Commit 86dbe62

Browse files
Use rsync for vagrant-libvirt sync_folder:
The NFS type for synced_folder requires nfsd to be installed and running on a machine for vagrant up to be successful. nfs was used so that folders were r/w bidirectionally. I don't really think there is a need for this bidirectional functionality. Moving to rsync should make this work more universally. Signed-off-by: Jacob Weinstock <[email protected]>
1 parent 8550bae commit 86dbe62

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

deploy/vagrant/Vagrantfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ Vagrant.configure("2") do |config|
4747
end
4848

4949
provisioner.vm.provider "libvirt" do |l, override|
50-
override.vm.synced_folder '../', '/vagrant', type: "nfs", nfs_version: 4, "nfs_udp": false, mount_options: ["rw", "vers=4", "tcp"]
50+
override.vm.synced_folder '../', '/vagrant', type: "rsync"
5151
# vagrant plugin install vagrant-docker-compose
5252
override.vm.provision :docker_compose,
5353
compose_version: "1.29.1",

0 commit comments

Comments
 (0)