Skip to content

Commit

Permalink
chore: 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 3f43d7d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion images/capi/packer/ami/ubuntu-2204.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
{
"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",
"distribution_version": "22.04",
"root_device_name": "/dev/sda1",
"source_ami": "",
"ssh_username": "ubuntu"
}
}

0 comments on commit 3f43d7d

Please sign in to comment.