From db9731449f6bc80536ba7f10111db865e3861856 Mon Sep 17 00:00:00 2001 From: Michael Campfield Date: Sat, 11 Feb 2023 17:16:40 -0500 Subject: [PATCH] change breaking typo for amazon value in locals (#1472) Co-authored-by: Michael Campfield --- packer_templates/pkr-builder.pkr.hcl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packer_templates/pkr-builder.pkr.hcl b/packer_templates/pkr-builder.pkr.hcl index f2c701a56..bc7c4f44c 100644 --- a/packer_templates/pkr-builder.pkr.hcl +++ b/packer_templates/pkr-builder.pkr.hcl @@ -131,7 +131,7 @@ locals { "${path.root}/scripts/fedora/cleanup_dnf.sh", "${path.root}/scripts/_common/minimize.sh" ] : ( - "${var.os_name}-${substr(var.os_version, 0, 1)}" == "amazonliunux-2" || + "${var.os_name}-${substr(var.os_version, 0, 1)}" == "amazonlinux-2" || "${var.os_name}-${substr(var.os_version, 0, 1)}" == "centos-7" || "${var.os_name}-${substr(var.os_version, 0, 1)}" == "oraclelinux-7" || "${var.os_name}-${substr(var.os_version, 0, 1)}" == "rhel-7" ||