-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
packer: increase pause_before value and add ssh_read_write_timeout #461
Conversation
Following db75e41, we need to add ssh_read_write_timeout and increase the pause_before to 20s
Verified twice
|
@@ -100,6 +101,7 @@ | |||
"source_image_family": "{{user `source_image_family`}}", | |||
"ssh_username": "{{user `ssh_username`}}", | |||
"ssh_timeout": "6m", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why "ssh_timeout"
for gce only set to "6m"? Is there any reason?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no idea probably to increase the default
@@ -136,6 +138,8 @@ | |||
"name": "azure", | |||
"type": "azure-arm", | |||
"ssh_username": "{{user `ssh_username`}}", | |||
"ssh_timeout": "5m", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems that the default for ssh_timeout
is 5m
(accoding to the doc), do we really need to add it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To align with other providers
You're right we can remove it from all (if 5m is enough) - on the next change
After adding the
pause_before
param on db75e41 I saw that we have SSH connection issues, so in this PR I'm increasing the pause to 20s and adding thessh_read_write_timeout
paramExample failure: