Skip to content

Commit

Permalink
Revert "avoid hard coding provisioner index array" (#1347)
Browse files Browse the repository at this point in the history
This reverts commit 6c16765.

Signed-off-by: Davanum Srinivas <davanum@gmail.com>
  • Loading branch information
dims authored Jul 12, 2023
1 parent d31fc7a commit 44d652f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hack/transform-al2-to-al2023.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ fi
cat "${PACKER_TEMPLATE_FILE}" \
| jq '._comment = "All template variables are enumerated here; and most variables have a default value defined in eks-worker-al2023-variables.json"' \
| jq '.variables.temporary_key_pair_type = "ed25519"' \
| jq '.provisioners |= map(select(.script//empty|endswith("upgrade_kernel.sh")|not))' \
| jq 'del(.provisioners[5])' \
> "${PACKER_TEMPLATE_FILE/al2/al2023}"

# use newer versions of containerd and runc, do not install docker
Expand Down

0 comments on commit 44d652f

Please sign in to comment.