From 016b43bfa3e3dd3b60421762c1ae1e48880acda8 Mon Sep 17 00:00:00 2001 From: Marcin Prokop Date: Fri, 3 Nov 2023 14:30:35 +0100 Subject: [PATCH] Use gnupg2-full for minimal AMI --- aws_minimal.pkr.hcl | 1 + aws_minimal/scripts/gnupg.sh | 1 + 2 files changed, 2 insertions(+) create mode 100644 aws_minimal/scripts/gnupg.sh diff --git a/aws_minimal.pkr.hcl b/aws_minimal.pkr.hcl index 8066e9c..a736ff2 100644 --- a/aws_minimal.pkr.hcl +++ b/aws_minimal.pkr.hcl @@ -130,6 +130,7 @@ build { scripts = [ "shared/scripts/data-directories.sh", "aws_minimal/scripts/dnf-update.sh", + "aws_minimal/scripts/gnupg.sh", "aws_minimal/scripts/docker.sh", "shared/scripts/gvisor.sh", "aws_minimal/scripts/cloudwatch-agent.sh", diff --git a/aws_minimal/scripts/gnupg.sh b/aws_minimal/scripts/gnupg.sh new file mode 100644 index 0000000..7b7b4dd --- /dev/null +++ b/aws_minimal/scripts/gnupg.sh @@ -0,0 +1 @@ +sudo dnf swap -y gnupg2-minimal gnupg2-full