Skip to content

Instantly share code, notes, and snippets.

@bodinsamuel
Last active August 29, 2015 14:27
Show Gist options
  • Save bodinsamuel/5349e8a91a132d835e47 to your computer and use it in GitHub Desktop.
Save bodinsamuel/5349e8a91a132d835e47 to your computer and use it in GitHub Desktop.
Problem Solver for Vagrant/VirtualBox

This files addresse solutions for guys like me that spend at least a full day trying to make a simple box working in windows I tried to categorize issues, but it's mostly random Theses are not processes to fully debug, it's just some tricks that might work. They have no relations to each other or some order that need to fullfiled

Connection Timeout

Use GUI mode

Most of connection timeout come from this. Add gui = true to your vagrantfile > vagrant reload it will make virtualbox pop when your are launching vagrant

If your are usgin PuPHPet config.yaml >> vagrantfile > vm > provider > virtualbox > showgui: '1'

Disable VB host

Control Panel > Network and Internet > Network Connections > Disable all VirtualBox Host

Disable Hyper-V

Program and Features > Turn Windows Features on or Off > Hyper-v > uncheck > restart

Enable virtualization in BIOS

Many bios come with he options disabled by default. Restart > launch bios > look for virtualization options > check > save & restart

Can't ssh to VM

Wrong SSH key

Ctrl + C to stop vagrant > vagrant halt > vagrant destroy > delete all ssh key that is used to connect If you are using PuPHPet you'll find them in puphpet\files\dot\ssh

Can't mount Directory

Rsync is bugged in 1.7.2

There is a bug report filled. You shoudl use folder sharing instead

If your are usgin PuPHPet config.yaml >> vagrantfile > vm > synced_folder > > sync_type: 'default'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment