Skip to content

Commit

Permalink
boot_wait 10s for debian
Browse files Browse the repository at this point in the history
  • Loading branch information
goffinet committed Oct 20, 2024
1 parent 1431212 commit ab11afa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion debian12.pkr.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ build {

provisioner "shell" {
execute_command = "{{ .Vars }} sudo -E bash '{{ .Path }}'"
inline = ["apt-get update", "apt -y install python3 python3-pip", "pip3 install ansible"]
inline = ["apt-get update", "apt -y install ansible"]
}

provisioner "ansible-local" {
Expand Down
3 changes: 1 addition & 2 deletions roles/build_packer_templates/defaults/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,5 @@ shell_provisioner: >-
"sudo apt -y install ansible"]
{% elif flavor == 'debian' %}
["apt-get update",
"apt -y install python3 python3-pip",
"pip3 install ansible"]
"apt -y install ansible"]
{%- endif -%}

0 comments on commit ab11afa

Please sign in to comment.