Skip to content

Commit

Permalink
FIX: Add retry when create virtual machine
Browse files Browse the repository at this point in the history
  • Loading branch information
Fred78290 committed Oct 11, 2024
1 parent d854493 commit c74f0fa
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions templates/packer/template.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@
"provisioners": [
{
"type": "file",
"pause_before": "1s",
"max_retries": 10,
"source": "{{ user `PREPARE_SCRIPT` }}",
"destination": "/tmp/prepare-image.sh"
},
Expand Down

0 comments on commit c74f0fa

Please sign in to comment.