I am having some trouble with my shell provisioning scripts (using
Vaprobash) on Windows.
Provisioning seemed to work well at first, but then it failed during the installation of phantomjs (via sudo apt-get). It didn't just fail, though, it simply went on to destroy my VM completely (and repeatedly).
I restructured my provisioning scripts a little bit, and now the same happens during the installation of global NPM packages.
Is this supposed to happen? What can cause Vagrant to destroy machine during provisioning?