diff --git a/images/ubuntu/templates/build.ubuntu-22_04.pkr.hcl b/images/ubuntu/templates/build.ubuntu-22_04.pkr.hcl index 05259514b..5784ff0b5 100644 --- a/images/ubuntu/templates/build.ubuntu-22_04.pkr.hcl +++ b/images/ubuntu/templates/build.ubuntu-22_04.pkr.hcl @@ -200,7 +200,7 @@ build { provisioner "shell" { execute_command = "sudo sh -c '{{ .Vars }} {{ .Path }}'" - pause_before = "1m0s" + pause_before = "5m0s" scripts = ["${path.root}/../scripts/build/cleanup.sh"] start_retry_timeout = "10m" } diff --git a/images/ubuntu/templates/build.ubuntu-24_04.pkr.hcl b/images/ubuntu/templates/build.ubuntu-24_04.pkr.hcl index 94f595c33..30d6c6c18 100644 --- a/images/ubuntu/templates/build.ubuntu-24_04.pkr.hcl +++ b/images/ubuntu/templates/build.ubuntu-24_04.pkr.hcl @@ -189,7 +189,7 @@ provisioner "shell" { provisioner "shell" { execute_command = "sudo sh -c '{{ .Vars }} {{ .Path }}'" - pause_before = "1m0s" + pause_before = "5m0s" scripts = ["${path.root}/../scripts/build/cleanup.sh"] start_retry_timeout = "10m" }