I’ve been using Vagrant for many years so not a newbie but this has me stumped.
Host: Ubuntu 20.04
Vagrant: 2.3.7
Oracle VM Manager
Box (various tried)
I’ve been through a lot of options but now come down to this:
Nmap scan report for Pegasus (192.168.56.1)
Host is up (0.00018s latency).
Not shown: 994 closed ports
PORT STATE SERVICE
22/tcp open ssh
80/tcp open http
111/tcp open rpcbind
2049/tcp open nfs
5432/tcp open postgresql
8080/tcp open http-proxy
But this is the VM i/p:
Nmap scan report for xxx.test (192.168.56.10)
Host is up (0.00031s latency).
Not shown: 998 closed ports
PORT STATE SERVICE
22/tcp open ssh
111/tcp open rpcbind
So it’s no surprise I’m getting nothing (as far as I understand it anyway, which is not very far, this is not my area).
Vagrant is at least supposed to set up NFS in both host and client, and claims everything is fine.
In the host we have:
$ systemctl status nfs-server
● nfs-server.service - NFS server and services
Loaded: loaded (/lib/systemd/system/nfs-server.service; enabled; vendor preset: enabled)
Drop-In: /run/systemd/generator/nfs-server.service.d
└─order-with-mounts.conf
Active: active (exited) since Tue 2023-07-04 09:58:05 BST; 3h 48min ago
Main PID: 1249 (code=exited, status=0/SUCCESS)
Tasks: 0 (limit: 18716)
Memory: 0B
CGroup: /system.slice/nfs-server.service
Jul 04 09:58:04 Pegasus systemd[1]: Starting NFS server and services...
Jul 04 09:58:05 Pegasus systemd[1]: Finished NFS server and services.
And in the client we get:
$ systemctl status nfs-server
Unit nfs-server.service could not be found.
I’ve scoured the interwebs looking for clues but I have none.
Any pointers would be appreciated.