Move the communicator pause_before_connecting

block to a code block and fix the JSON
pull/7582/head
h4ckNinja 7 years ago committed by GitHub
parent 4639f92f63
commit a537888fb0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -207,11 +207,13 @@ you need Packer to wait before attempting to connect to your guest.
If you end up in this situation, you can use the template option
`pause_before_connecting`. By default, there is no pause. For example:
```
{
"communicator": "ssh"
"communicator": "ssh",
"ssh_username": "myuser",
"pause_before_connecting": "10m"
}
```
In this example, Packer will check whether it can connect, as normal. But once
a connection attempt is successful, it will disconnect and then wait 10 minutes

Loading…
Cancel
Save