I just updated my MacBook to MacOS Monterey, and now I can’t vagrant up
. This is as far as I get:
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Importing base box 'bento/ubuntu-18.04'...
==> default: Matching MAC address for NAT networking...
==> default: Checking if box 'bento/ubuntu-18.04' version '202110.25.0' is up to date...
==> default: Setting the name of the VM: example.test
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
default: Adapter 1: nat
default: Adapter 2: hostonly
==> default: Forwarding ports...
default: 22 (guest) => 2222 (host) (adapter 1)
==> default: Running 'pre-boot' VM customizations...
==> default: Booting VM...
==> default: Waiting for machine to boot. This may take a few minutes...
default: SSH address: 127.0.0.1:2222
default: SSH username: vagrant
default: SSH auth method: private key
default:
default: Vagrant insecure key detected. Vagrant will automatically replace
default: this with a newly generated keypair for better security.
default:
default: Inserting generated public key within guest...
default: Removing insecure key from the guest if it's present...
default: Key inserted! Disconnecting and reconnecting using new SSH key...
==> default: Machine booted and ready!
==> default: Checking for guest additions in VM...
==> default: Setting hostname...
==> default: Configuring and enabling network interfaces...
==> default: Exporting NFS shared folders...
==> default: Preparing to edit /etc/exports. Administrator privileges will be required...
==> 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=3,udp xxx.xxx.xx.x:/System/Volumes/Data/Users/matt/Sites/example.com/site /vagrant-nfs-example.com
Stdout from the command:
Stderr from the command:
mount.nfs: Connection timed out
- Vagrant v2.2.10
- Ansible v2.8.0
- VirtualBox v6.1.30
- Python 2.7.18
I’ve been doing a lot of searching, and found some solutions, but none of them are working for me. Here’s what I’ve done/tried:
- iTerm has Full Disk Access and Accessibility permissions
- Firewall is disabled
- Disk encryption is disabled
- VirtualBox updated to 6.1.30
- Uninstalled/reinstalled Vagrant
- Added “nfs_udp: false” to the Vagrantfile
- installed the vagrant-vbguest plugin
- Added /sbin/nfsd to Full Disk Access
Everything was working fine on Big Sur. I really don’t want to have to downgrade, I’ll have to manually reinstall everything again and that will take me soooo many hours.
Anyone else have some ideas for me to try?