- Virtualbox installed
- Vagrant installed
- Vagrant sahara plugin installed
- Vagrant box
win2012r2x64available
- Copy
PrepareMachine.ps1toVagrantAction.ps1 - Run
vagrant up
- Run
vagrant sandbox on - Copy
ChocolateyAction.ps1toVagrantAction.ps1- replace{{action}}withinstall,{{package}}, and{{version}}. - Run
vagrant provision- capture output (this is the install log), note the exit code. - Copy
ChocolateyAction.ps1toVagrantAction.ps1- replace{{action}}withuninstall,{{package}}, and{{version}}. - Run
vagrant provision- capture output (this is the uninstall log), note the exit code. - Run
vagrant sandbox rollbackto set the machine ready for previous.