Skip to content

Commit

Permalink
fix: pin cloud-init for ubuntu 22.04 image
Browse files Browse the repository at this point in the history
This pins the cloud-init version in the CAPA AMI for ubuntu 22.04 to
an older version. This is required as newer versions of cloud-init
don't work with the way CAPA gets the user-data onto the instance.

This is a temporary solution until a more long term solution is found.

Signed-off-by: Richard Case <[email protected]>
  • Loading branch information
richardcase committed Oct 11, 2024
1 parent d7a820b commit f025f35
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions images/capi/packer/ami/ubuntu-2204.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"ami_filter_name": "ubuntu/images/*ubuntu-jammy-22.04-amd64-server-*",
"ami_filter_owners": "099720109477",
"ansible_extra_vars": "pinned_debs=\"cloud-init=23.1.2-0ubuntu0~22.04.1\"",
"build_name": "ubuntu-22.04",
"distribution": "Ubuntu",
"distribution_release": "jammy",
Expand Down

0 comments on commit f025f35

Please sign in to comment.