From da052dfb47daded9deae3ccafeb6c6fbca4d08f5 Mon Sep 17 00:00:00 2001 From: Talha Bin Rizwan Date: Mon, 2 Sep 2024 10:04:19 +0500 Subject: [PATCH] PMM-13332 Install chromium for both amd64 and arm64. (#3189) --- build/packer/ansible/agent-aws.yml | 6 +++--- build/packer/aws.pkr.hcl | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/build/packer/ansible/agent-aws.yml b/build/packer/ansible/agent-aws.yml index 63075ed46e..910e93cef9 100644 --- a/build/packer/ansible/agent-aws.yml +++ b/build/packer/ansible/agent-aws.yml @@ -113,9 +113,9 @@ mode: "u+x,g+x,o+x" - name: Install chromium - shell: "dnf install -y https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm" - when: ansible_architecture == "x86_64" - # NOTE: no chromium package for arm64 + yum: + name: chromium + state: latest - name: Install doctl client for digital ocean get_url: diff --git a/build/packer/aws.pkr.hcl b/build/packer/aws.pkr.hcl index 67e713959c..671bc418c4 100644 --- a/build/packer/aws.pkr.hcl +++ b/build/packer/aws.pkr.hcl @@ -85,7 +85,7 @@ source "amazon-ebs" "arm-agent" { iit-billing-tag = "pmm-worker" } launch_block_device_mappings { - device_name = "/dev/xvda" + device_name = "/dev/sda1" volume_size = 30 volume_type = "gp3" delete_on_termination = true