Created
October 25, 2013 14:51
-
-
Save sneal/7155901 to your computer and use it in GitHub Desktop.
This Vagrantifle snippet is using a "reboot" provisioner in vagrant-windows. The provisioner reboots the guest and then blocks vagrant execution until the VM finished its reboot.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Install .NET 4.5 first | |
config.vm.provision :chef_solo do |chef| | |
chef.log_level = :info | |
chef.add_recipe 'dotnetframework' | |
chef.add_recipe 'minitest-handler' | |
end | |
# Need to reboot before .NET 4.5 install finishes | |
config.vm.provision :reboot | |
# Now we can finally run the VS recipe | |
config.vm.provision :chef_solo do |chef| | |
chef.log_level = :info | |
chef.add_recipe 'visualstudio' | |
chef.add_recipe 'minitest-handler' | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment