From cc5a56dbc68381c56c8db9f0cee20ac2546127b8 Mon Sep 17 00:00:00 2001 From: Eugene Zamriy Date: Tue, 1 Jun 2021 14:11:10 +0300 Subject: [PATCH] Fixes #18: updates configs to AlmaLinux OS 8.4 stable --- almalinux-8-aws.pkr.hcl | 4 ++-- bin/aws_ami_mirror.py | 2 +- variables.pkr.hcl | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/almalinux-8-aws.pkr.hcl b/almalinux-8-aws.pkr.hcl index 68a009b..d7c9bae 100644 --- a/almalinux-8-aws.pkr.hcl +++ b/almalinux-8-aws.pkr.hcl @@ -56,8 +56,8 @@ build { // comment this out if you don't want to import AMI to Amazon EC2 automatically post-processor "amazon-import" { - ami_name = "AlmaLinux OS 8.3 x86_64" - ami_description = "Official AlmaLinux OS 8.3 x86_64 image" + ami_name = "AlmaLinux OS 8.4 x86_64" + ami_description = "Official AlmaLinux OS 8.4 x86_64 image" ami_groups = ["all"] s3_bucket_name = var.aws_s3_bucket_name license_type = "BYOL" diff --git a/bin/aws_ami_mirror.py b/bin/aws_ami_mirror.py index 0db59e2..eb0ebd2 100755 --- a/bin/aws_ami_mirror.py +++ b/bin/aws_ami_mirror.py @@ -166,7 +166,7 @@ def main(sys_args): with open(args.csv_output, 'w') as csv_fd: csv_writer = csv.writer(csv_fd, dialect='unix') for dst_region, dst_ami_id in sorted(public_amis.items()): - row = ('AlmaLinux OS', '8.3', dst_region, dst_ami_id, 'x86_64') + row = ('AlmaLinux OS', '8.4', dst_region, dst_ami_id, 'x86_64') csv_writer.writerow(row) md_rows.append(row) with open(args.md_output, 'w') as fd: diff --git a/variables.pkr.hcl b/variables.pkr.hcl index 5e0bb2e..956431f 100644 --- a/variables.pkr.hcl +++ b/variables.pkr.hcl @@ -2,8 +2,8 @@ variables { // // common variables // - iso_url = "https://repo.almalinux.org/almalinux/8.3/isos/x86_64/AlmaLinux-8.3-x86_64-boot.iso" - iso_checksum = "file:https://repo.almalinux.org/almalinux/8.3/isos/x86_64/CHECKSUM" + iso_url = "http://repo.almalinux.org/almalinux/8.4/isos/x86_64/AlmaLinux-8.4-x86_64-boot.iso" + iso_checksum = "file:http://repo.almalinux.org/almalinux/8.4/isos/x86_64/CHECKSUM" headless = true boot_wait = "10s" cpus = 2