Hi Everyone,
We have a very lengthy and sadly brittle provisioning process. Making both of those better is on our roadmap but it unfortunately makes people very nervous about recreating their VMs which leads to other problems.
I had the idea that I could make a backup of the box prior to destroying it, then if anything goes wrong with the provision, you can always fall back to the backup.
I don't believe snapshotting can work here because we want to be able to destroy the box and then recreate it (maybe that's problem number 1?).
My initial idea was to do a `VBoxManage clonevm` step prior to destroying the box and then if anything goes wrong clone the vm back into place and allow you to continue on your way.
My first attempt at this did not go well though, and I'm unclear as to why. Vagrant recognized the machine as already provisioned, but the box itself definitely was not provisioned.
How can I do this? Or is there a better way to accomplish what I'm talking about.
Thanks in advance!
--
In Christ,
Timmy V.