Hi there,

Are the timeouts happening with all VMs, or just those based on the
ubuntu/focal64 box? There's a reported issue in the cloud-images project
that sounds similar to what you're experiencing:
https://bugs.launchpad.net/cloud-images/+bug/1829625

As a workaround, you can add the following to your Vagrantfile:

  config.vm.provider :virtualbox do |v|
    v.customize ["modifyvm", :id, "--uart1", "0x3F8", "4"]
    v.customize ["modifyvm", :id, "--uartmode1", "file", File::NULL]
  end

Hope this helps,
Jeff

On Wed, Jun 10, 2020 at 1:28 PM Kaveh Ahmadian <kaveh.ahmad...@gmail.com>
wrote:

> I was running Vagrant 2.2.7 happily with VirtualBox 6.0 on Mac OS 10.15.5
> and I decided to create a new VM using ubuntu/focal64 when I found that it
> was timing out waiting for the machine to boot and connect via SSH. Running
> vagrant up again would sometimes connect. I decided to update Vagrant 2.2.9
> and I don't think it got better. I then updated to the latest VirtualBox
> 6.1 and now I cannot connect to VMs at all. It keeps timing out. When I try
> to halt or destroy to try again, it just hangs. I can't doing anything with
> the machine from VirtualBox either. I have to reboot my laptop altogether.
> I tried uninstalling and re-installing Vagrant. I have also installed the
> vagrant-vbguest plugin. Any ideas? I'm afraid to uninstall VirtualBox as I
> still have some VMs saved and I have not tried to bring them up with
> Vagrant as I'm afraid they will be corrupted.
>
> --
> This mailing list is governed under the HashiCorp Community Guidelines -
> https://www.hashicorp.com/community-guidelines.html. Behavior in
> violation of those guidelines may result in your removal from this mailing
> list.
>
> GitHub Issues: https://github.com/hashicorp/vagrant/issues
> Discuss: https://discuss.hashicorp.com/c/vagrant/24
> ---
> You received this message because you are subscribed to the Google Groups
> "Vagrant" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to vagrant-up+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/vagrant-up/9f43a2b7-5bd4-418d-9815-ede1b30e9bdfo%40googlegroups.com
> <https://groups.google.com/d/msgid/vagrant-up/9f43a2b7-5bd4-418d-9815-ede1b30e9bdfo%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
This mailing list is governed under the HashiCorp Community Guidelines - 
https://www.hashicorp.com/community-guidelines.html. Behavior in violation of 
those guidelines may result in your removal from this mailing list.

GitHub Issues: https://github.com/hashicorp/vagrant/issues
Discuss: https://discuss.hashicorp.com/c/vagrant/24
--- 
You received this message because you are subscribed to the Google Groups 
"Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vagrant-up+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vagrant-up/CAAf6GacdE1RKX8pPMk8AVSnz0K38gkhQ65T%3Dnj%3DQN5rMxVMaxA%40mail.gmail.com.

Reply via email to