Skip to content

8. Troubleshooting

Humoud edited this page May 27, 2022 · 3 revisions

In case you face an issue while provisioning a single VM, you can either:

  1. Destroy the VM and try again
    • vagrant destroy MACHINE_NAME_HERE -f then vagrant up MACHINE_NAME_HERE --provider=PROVIDER_HERE
  2. Try to provision the VM again. For this the VM must be running:
    • vagrant provision MACHINE_NAME_HERE

Vagrant did act up a few times while developing the lab and the above solved a lot of issues. However, if it does not solve the problem you are facing, feel free to open up an issue.

To destroy the whole lab: vagrant destroy -f

Note that the vagrant destroy command deletes the VM but keeps the vagrant box on disk. This means that you need not worry about having to re-download the box itself. If you wish to delete the boxes as well then you can refer to the Vagrant box remove command documentation link

MacOS

Screen Auto Resize

If you face an issue where the VM screens are not being auto-resized correctly ensure that VirtualBox has the extension pack installed and increase the video memory to 128MB.

Clone this wiki locally