Trying to use vagrant to mount a VM. I use libvirt as a provider.
I have this in my Vagrantfile :
config.vm.synced_folder ‘.’, ‘/toto’
I get the following :
==> default: Mounting NFS shared folders…
The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!
mount -o vers=4 192.168.122.1:/home/ludovic/Documents/src/3liz/toto /vagrant
Stdout from the command:
Stderr from the command:
mount.nfs: Connection timed out
I have followed instructions at https://developer.fedoraproject.org/tools/vagrant/vagrant-nfs.html - but it’s not helping.
[ludovic@saraan lizmap-box]$ sudo cat /etc/exports
VAGRANT-BEGIN: 1000 d7208f2d-8be6-40ed-a777-2d9741158fca
VAGRANT-END: 1000 d7208f2d-8be6-40ed-a777-2d9741158fca
[ludovic@saraan lizmap-box]$ vagrant --version
I have tried to use rsync as per https://www.vagrantup.com/docs/synced-folders/basic_usage.html , but I still get some NFS error .
Journalctl -e is of little help.
What am I doing wrong ?