Cheatsheet

Reset machine

  1. destroy the existing
vagrant destroy
  1. remove the related directory
rm -rf .vagrant
  1. rebuild machine
vagrant up

list boxes

  1. list all boxes locally
vagrant box list
  1. remove all boxes
vagrant box list | awk '{print $1}' | xargs -I {} vagrant box remove {}

Troubleshooting

Cannot install plugin due to mismatch dependency

export VAGRANT_DISABLE_STRICT_DEPENDENCY_ENFORCEMENT=1
vagrant plugin install vagrant-libvirt