The SSH Time out issue - with VirtualBox I think

This bug has been plaguing me on and off for some time, and I feel like maybe it hits a lot of other Vagrant users and puts them off.

It happens to me on both Linux and MacOS as the host. Where I vagrant up a new VM and get errors like this:

==> 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

Timed out while waiting for the machine to boot. This means that
Vagrant was unable to communicate with the guest machine within
the configured ("config.vm.boot_timeout" value) time period.

It happens with the box rockylinux/8 but not with centos/7 for example.

One explanation I found for it, was that Virtualbox changed it’s private IP range, but in this case I’m using a completely unchanged VagrantFile

I don’t now what the difference here is between the 2 images or how they were created. So not sure where to go from there, but this bug happens often enough that… I wrote this post :slight_smile: