Skip to content

Commit b01844d

Browse files
committed
Update Base AMI
1 parent dee42c5 commit b01844d

2 files changed

Lines changed: 3 additions & 4 deletions

File tree

packer/base-images/aws/base-image.pkr.hcl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ source "amazon-ebs" "aws_base_image" {
1515
source_ami_filter {
1616
filters = {
1717
virtualization-type = "hvm"
18-
name = "ubuntu/images/hvm-ssd/ubuntu-focal-20.04-amd64-server-*"
18+
name = "ubuntu/images/hvm-ssd/ubuntu-jammy-22.04-amd64-server-*"
1919
root-device-type = "ebs"
2020
}
2121
owners = ["099720109477"]
@@ -38,7 +38,7 @@ source "amazon-ebs" "aws_base_image_arm" {
3838
source_ami_filter {
3939
filters = {
4040
virtualization-type = "hvm"
41-
name = "ubuntu/images/hvm-ssd/ubuntu-focal-20.04-arm64-server-*"
41+
name = "ubuntu/images/hvm-ssd/ubuntu-jammy-22.04-arm64-server-*"
4242
root-device-type = "ebs"
4343
}
4444
owners = ["099720109477"]

packer/jenkins-agents/stock/configure-jenkins.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@ usermod -aG docker ubuntu
1212

1313
#Build essentials like make and gcc
1414
apt install -y build-essential
15-
apt install -y python3 python3-pip
16-
pip install -q poetry launchpadlib
15+
apt install -y python3 python3-pip python3-poetry python3-launchpadlib
1716
apt install -y openjdk-17-jre-headless
1817
apt-mark hold openjdk-17-jre-headless
1918
#echo new cron into cron file

0 commit comments

Comments
 (0)