You are not logged in.
Pages: 1
I'm trying to run a vagrant box where the
Vagrantfile
is located within my home folder.
I know that running NFS server on archlinux means you have to put it under
/srv
Is there any way to make it possible to share a folder from my home directory through NFS as this is what vagrant tries to mount when bringing up the box?
Last edited by botto (2019-12-12 09:02:34)
Offline
You can export any directory you want.
You can bind mount a directory to /srv as discribed here https://wiki.archlinux.org/index.php/NFS#Configuration
or simply add the directory you want to export to /etc/exports e.g.
/home/user1/vagrant 192.168.1.0/24(rw,sync)
exportfs -rav (to update the exports.)
Offline
Pages: 1