Reputation: 986
I find myself creating and destroying Windows VM virtualboxes quite alot, which is time consuming doing it the traditional way (GUI). So i came across ruby + vagrant in my pursuit to get rid of this repetitive task.
However during my googling i find that vagrant uses are for linux machines and a "sudo apt-get install " situation. Has anyone come across or point me in the right direction for creating a Windows 7/8 machine (Update: found base boxes here:http://www.vagrantbox.es/) but most importantly, ADDING and RUNNING certain .exe files specified in my vagrant files?
Upvotes: 1
Views: 666
Reputation: 53793
There are 2 parts in your question
There are some limitations with those boxes and the team at microsoft is updating it. You can read some of the limitation and how to workaround them at https://gist.github.com/andreptb/57e388df5e881937e62a
You can just use shell provisioner to call a bat file or a powershell script which will run your exe.
Upvotes: 1