-
Notifications
You must be signed in to change notification settings - Fork 106
Description
Community Note
Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request.
Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request.
If you are interested in working on this issue or have submitted a pull request, please leave a comment.
Description
The documentation says the following:
ssh_timeout (duration string | ex: "1h5m2s") - The time to wait for SSH to become available. Packer uses this to determine when the machine has booted so this is usually quite long. Example value: 10m. This defaults to 5m, unless ssh_handshake_attempts is set.
[…]
ssh_handshake_attempts (int) - The number of handshakes to attempt with SSH once it can connect. This defaults to 10, unless a ssh_timeout is set.
This leaves me wondering:
- Are the
ssh_timeoutandssh_handshake_attemptsfields mutually exclusive? It kind of sounds like that, but it's not clear. - What is the value of
ssh_timeoutifssh_handshake_attemptsis set (and vice versa)? (if they are not mutually exclusive, of course).
I think this should be clarified in the documentation.
Use Case(s)
The documentation should be clear on how things works.
Potential configuration
n/a
Potential References
See links above.