add some example json to windows restart_check_command
This commit is contained in:
parent
d81871171c
commit
b52ba4557e
|
@ -42,7 +42,14 @@ Optional parameters:
|
|||
detect it is rebooting.
|
||||
|
||||
- `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
|
||||
default this is 5 minutes. Example value: `5m`. If you are installing
|
||||
|
|
Loading…
Reference in New Issue