Commit Graph

16 Commits (b7a41af93cb162355c4bb44094de2a68b6cc09af)

Author SHA1 Message Date
Rickard von Essen 51a9a51699 Update winrm and winrmcp dependencies
10 years ago
Mark Peek 43cb854b3e Merge pull request #2568 from pecigonzalo/f-winrm-reboot
11 years ago
Mark Peek 1aad5cf6d5 provisioner/windows-restart: remove race in test
11 years ago
Mark Peek d87b68efe8 Syncronize cancellation in windows-restart tests
11 years ago
Gonzalo Peci f01f62dc88 Add specific exit codes listed on https://msdn.microsoft.com/en-us/library/windows/desktop/ms681383(v=vs.85).aspx
11 years ago
Gonzalo Peci 8bd3e62853 Because the new functionality makes the ```waitForRestart()``` function run commands it modifies the value of ```comm.StartCmd.Command``` that is being checked, we need to implement the same workaround that is being used for the ```waitForCommunicator()``` function. This should make the test work again and retain functionality.
11 years ago
Gonzalo Peci 08359e409a Revert the shutdown command with new parameters as this will return proper exit codes. This will work in the same way as restart-computer -force when using ```shutdown /r /f /t 0```.
11 years ago
Gonzalo Peci 70083fc869 Add reboot checks before moving out of the reboot.
11 years ago
Chris Bednarski abb67fdd79 Fix govet issues
11 years ago
Mitchell Hashimoto 7c8e86c9c5 provisioner/*: fix interpolation context
11 years ago
Mitchell Hashimoto 59766067c0 provisioner/windows-restart: make test pass on slow machines
11 years ago
Mitchell Hashimoto b2609db395 provisioner/windows-restart: fix potential panic case
11 years ago
Mitchell Hashimoto 7711e07f05 provisioner/windows-restart: test fix
11 years ago
Gonzalo Peci af4d8b99b4 Add quickfix to restart provisioner as existing one was not working.
11 years ago
Mitchell Hashimoto ab6a330d86 provisioner/*: fix go vet
11 years ago
Mitchell Hashimoto 840ddb4f20 provisioner/windows-restart
11 years ago