Commit Graph

28 Commits (7efe3cac3d5e728ee471bbccfd1043e06e4dcafe)

Author SHA1 Message Date
Megan Marsh c51cd751d1 go back to using StartWithUI to prevent weird hangs during windows reboot
8 years ago
Megan Marsh 9fa47f5dad make windows restart provisioner work with ssh communicator
8 years ago
Megan Marsh 974d9974fe add workaround for azure bug.
8 years ago
Megan Marsh 19c997cb0e revert to using UI becuase the remote command syntax breaks things on linux with vmware fusion.
9 years ago
Megan Marsh c3cb7fe9f9 read from stderr so it doesnt lock up
9 years ago
Megan Marsh 9b1ae530c3 have separate stdout and stderr buffers
9 years ago
Megan Marsh 6019e41544 dont read stderr
9 years ago
Megan Marsh 73b6247fd2 remove unnecessary boolean operator
9 years ago
Megan Marsh e56a6dc9a0 add some comments
9 years ago
Megan Marsh a739623d9b don't pipe restarted stuff through the ui
9 years ago
Megan Marsh d71bc34dfc don't need this in a loop
9 years ago
Megan Marsh d81871171c make restart command work correctly even if user has their own check command
9 years ago
Megan Marsh 959db1ac16 add echo test to winrm connection.
9 years ago
Megan Marsh b2923b4da6 check stdout to make sure echo command actually goes through before counting computer as fully restarted
9 years ago
Matthew Hooker b1f06bbebb
fix wording
9 years ago
Matthew Hooker 67e29e1eff
disambiguates windows-restart messages.
9 years ago
Matthew Hooker 81522dced0
move packer to hashicorp
9 years ago
Matthew Hooker 0149f679de
Print instead of Printf with no dynamic first variable.
9 years ago
Matthew Hooker 230079f73a
spell fixes
9 years ago
Rickard von Essen 51a9a51699 Update winrm and winrmcp dependencies
10 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 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 b2609db395 provisioner/windows-restart: fix potential panic case
11 years ago
Gonzalo Peci af4d8b99b4 Add quickfix to restart provisioner as existing one was not working.
11 years ago
Mitchell Hashimoto 840ddb4f20 provisioner/windows-restart
11 years ago