Some rather hacky tricks to swap between different providers for a single vagrant machine without destroying anything.
Useful for building a VM locally, then pushing up to a cloud provider, for example.
vagrant plugin install vagrant-provider
# list machines and providers
$ vagrant provider list
Machines
--------
default:
virtualbox (active)
vmware_fusion
digital_ocean
# stash the current provider state for later
$ vagrant provider stash [machine-name]
# bring back the named provider state
$ vagrant provider pick <provider> [machine-name]