Skip to content

Commit

Permalink
fix: removes pinned debs
Browse files Browse the repository at this point in the history
  • Loading branch information
faiq committed Jan 10, 2025
1 parent 5ea3b9b commit 2659447
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 9 deletions.
5 changes: 0 additions & 5 deletions images/ami/ubuntu-2004.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,6 @@
build_name: "ubuntu-20"
packer_builder_type: "amazon"
python_path: ""
# The latest cloud-init version '23.3.1-0ubuntu1~20.04.1 is unable to run #boothook created by CAPA
# https://github.com/kubernetes-sigs/cluster-api-provider-aws/blob/0bf78b04b305a77aec37a68c107102231faa7a16/pkg/cloud/services/secretsmanager/secret_fetch_script.go#L20
# This is a workaround to downgrade to older cloud-init version.
# TODO: remove it when base ubuntu AMI has fixed version of cloud-init available. https://d2iq.atlassian.net/browse/D2IQ-99637
pinned_debs: ["cloud-init=23.1.2-0ubuntu0~20.04.2"]
packer:
ami_filter_name: "ubuntu/images/hvm-ssd/ubuntu-focal-20.04-amd64-server*"
ami_filter_owners: "099720109477"
Expand Down
4 changes: 0 additions & 4 deletions images/ami/ubuntu-2204.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@
build_name: "ubuntu-22"
packer_builder_type: "amazon"
python_path: ""
# The latest cloud-init version is unable to run #boothook created by CAPA https://github.com/kubernetes-sigs/cluster-api-provider-aws/issues/5115
# This is a workaround to downgrade to older cloud-init version.
# https://github.com/kubernetes-sigs/image-builder/pull/1590/files
pinned_debs: ["cloud-init=23.1.2-0ubuntu0~22.04.1"]
packer:
ami_filter_name: "ubuntu/images/*ubuntu-jammy-22.04-amd64-server-*"
ami_filter_owners: "099720109477"
Expand Down

0 comments on commit 2659447

Please sign in to comment.