aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2023-12-01 22:10:25 +0100
committerEgor Tensin <Egor.Tensin@gmail.com>2023-12-01 22:10:25 +0100
commit56d5fa3624e32094a46e7dbdcf8926f770fceb8d (patch)
tree3d17701f9ae71bd4bf41206eeedb7cf349bde812
parentdebian/README: update (diff)
downloadconfig-links-56d5fa3624e32094a46e7dbdcf8926f770fceb8d.tar.gz
config-links-56d5fa3624e32094a46e7dbdcf8926f770fceb8d.zip
debian/vagrant: fix NFS mounting
`vagrant up` started hanging with NFS connection errors, but I'm too lazy to figure out what it is this time.
-rw-r--r--debian/Vagrantfile5
1 files changed, 4 insertions, 1 deletions
diff --git a/debian/Vagrantfile b/debian/Vagrantfile
index ab1decb..fce4afb 100644
--- a/debian/Vagrantfile
+++ b/debian/Vagrantfile
@@ -12,7 +12,10 @@ Vagrant.configure("2") do |config|
# Weirdly enough, VirtualBox's shared folders didn't quite work for me.
# gbp buildpackage would just exit with FileExistsError, which doesn't
# happen with NFS shares.
- config.vm.synced_folder "../", "/vagrant", type: "nfs"
+ config.vm.synced_folder "../", "/vagrant",
+ type: "nfs",
+ nfs_udp: false,
+ nfs_version: "4"
config.vm.provider "libvirt" do |v|
v.cpus = 2