Created
April 26, 2015 02:30
Vagrant windows guest failure
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
echo 'Ensuring basic commands will run' |
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
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
Vagrant.configure(2) do |config| | |
config.vm.box = "atomia/windows-2012R2" | |
config.vm.box_check_update = false | |
config.vm.communicator = "winrm" | |
# NOTE: If you have to login manually, your username should include the | |
# 'VAGRANT' domain (e.g. 'VAGRANT/vagrant') | |
config.winrm.username = "vagrant" | |
config.winrm.password = "vagrant" | |
config.vm.guest = :windows | |
config.vm.network "forwarded_port", guest: 3389, host: 3389 | |
config.vm.provider "virtualbox" do |vb| | |
vb.cpus = 4 | |
vb.memory = 2048 | |
end | |
# This fails to run. Full error log at http://sprunge.us/VaHO | |
config.vm.provision :shell, :path => "test.cmd" | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment