add some example json to windows restart_check_command

This commit is contained in:
Megan Marsh 2017-11-07 16:00:40 -08:00
parent d81871171c
commit b52ba4557e
1 changed files with 8 additions and 1 deletions

View File

@ -42,7 +42,14 @@ Optional parameters:
detect it is rebooting. detect it is rebooting.
- `restart_check_command` (string) - A command to execute to check if the - `restart_check_command` (string) - A command to execute to check if the
restart succeeded. This will be done in a loop. restart succeeded. This will be done in a loop. Example usage:
``` json
{
"type": "windows-restart",
"restart_check_command": "powershell -command \"& {Write-Output 'restarted.'}\""
},
```
- `restart_timeout` (string) - The timeout to wait for the restart. By - `restart_timeout` (string) - The timeout to wait for the restart. By
default this is 5 minutes. Example value: `5m`. If you are installing default this is 5 minutes. Example value: `5m`. If you are installing