Skip to content

Commit

Permalink
packer: add ssh_read_write_timeout to handled reboot
Browse files Browse the repository at this point in the history
Following db75e41, we need to add ssh_read_write_timeout and increase
the pause_before to 20s
  • Loading branch information
benipeled committed Jun 20, 2023
1 parent db75e41 commit 8005266
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion packer/scylla.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@
"most_recent": true
},
"ssh_timeout": "5m",
"ssh_read_write_timeout": "5m",
"ssh_username": "{{user `ssh_username`}}",
"ssh_clear_authorized_keys": true,
"subnet_filter": {
Expand Down Expand Up @@ -100,6 +101,7 @@
"source_image_family": "{{user `source_image_family`}}",
"ssh_username": "{{user `ssh_username`}}",
"ssh_timeout": "6m",
"ssh_read_write_timeout": "5m",
"project_id": "{{user `project_id`}}",
"zone": "{{user `zone`}}",
"image_storage_locations": ["{{user `image_storage_location`}}"],
Expand Down Expand Up @@ -136,6 +138,8 @@
"name": "azure",
"type": "azure-arm",
"ssh_username": "{{user `ssh_username`}}",
"ssh_timeout": "5m",
"ssh_read_write_timeout": "5m",
"client_id": "{{user `client_id`}}",
"client_secret": "{{user `client_secret`}}",
"tenant_id": "{{user `tenant_id`}}",
Expand Down Expand Up @@ -187,7 +191,7 @@
"destination": "/home/{{user `ssh_username`}}/",
"source": "files/",
"type": "file",
"pause_before": "10s"
"pause_before": "20s"
},
{
"destination": "/home/{{user `ssh_username`}}/",
Expand Down

0 comments on commit 8005266

Please sign in to comment.