From 92e81087c0e0e00d701c44a802fcda6958abb195 Mon Sep 17 00:00:00 2001 From: nl6720 Date: Tue, 14 Jun 2022 11:56:17 +0300 Subject: [PATCH] Use the geo.mirror.pkgbuild.com mirror for Arch Linux and link to the latest image geo.mirror.pkgbuild.com is a GeoDNS mirror that points to sponsored mirrors. This avoids the usage of Arch's infrastructure (mirror.pkgbuild.com) for large downloads. See https://gitlab.archlinux.org/archlinux/infrastructure/-/merge_requests/522 for details. Additionally use the always latest Arch Linux image file. --- intro/main.tf | 4 ++-- network_security/terraform.tfvars-example | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/intro/main.tf b/intro/main.tf index f3fb483..11383d6 100644 --- a/intro/main.tf +++ b/intro/main.tf @@ -24,8 +24,8 @@ provider "nutanix" { resource "nutanix_image" "image" { name = "Arch Linux" - description = "Arch-Linux-x86_64-basic-20210401.18564" - source_uri = "https://mirror.pkgbuild.com/images/latest/Arch-Linux-x86_64-basic-20210415.20050.qcow2" + description = "Arch-Linux-x86_64-basic" + source_uri = "https://geo.mirror.pkgbuild.com/images/latest/Arch-Linux-x86_64-basic.qcow2" } resource "nutanix_virtual_machine" "vm" { diff --git a/network_security/terraform.tfvars-example b/network_security/terraform.tfvars-example index f641210..a6f1b30 100644 --- a/network_security/terraform.tfvars-example +++ b/network_security/terraform.tfvars-example @@ -3,4 +3,4 @@ subnet_name = "Primary" user = "Admin level account to Prism Central" password = "Password for admin level acces to Priscm Central" endpoint = "IP address or FQDN of Prism Central" -image_uri = "https://mirror.pkgbuild.com/images/v20210515.22945/Arch-Linux-x86_64-basic-20210515.22945.qcow2" +image_uri = "https://geo.mirror.pkgbuild.com/images/latest/Arch-Linux-x86_64-basic.qcow2"