From eab2cc5283e43898536df7408c872c928940a4bf Mon Sep 17 00:00:00 2001 From: Guofang Date: Wed, 30 Sep 2026 10:36:46 +0800 Subject: [PATCH] Download the Fedora 44 cloud image from the TUNA mirror download.fedoraproject.org is slow from mainland China. The TUNA mirror serves the same file (the pinned x86_64 SHA256 matches), and FEDORA_IMAGE_URL still overrides the default. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01YKxXLyiL7XJ3a9e8HmR2my --- download-images.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/download-images.sh b/download-images.sh index 3fa00f6..4a1f84e 100755 --- a/download-images.sh +++ b/download-images.sh @@ -21,7 +21,7 @@ if [[ "$image_arch" == arm64 ]]; then fedora_image="${base_qcow2_dir}/Fedora-Cloud-Base-Generic-44-1.7.aarch64.qcow2" debian_url_default="https://cloud.debian.org/images/cloud/trixie/20260810-2566/debian-13-generic-arm64-20260810-2566.qcow2" alma_url_default="https://repo.almalinux.org/almalinux/10/cloud/aarch64/images/AlmaLinux-10-GenericCloud-10.2-20260526.0.aarch64.qcow2" - fedora_url_default="https://download.fedoraproject.org/pub/fedora/linux/releases/44/Cloud/aarch64/images/Fedora-Cloud-Base-Generic-44-1.7.aarch64.qcow2" + fedora_url_default="https://mirrors.tuna.tsinghua.edu.cn/fedora/releases/44/Cloud/aarch64/images/Fedora-Cloud-Base-Generic-44-1.7.aarch64.qcow2" # TODO: these were pinned for the amd64/x86_64 builds; verification is # skipped (empty default) for the arm64/aarch64 builds until their # checksums are fetched and pinned via DEBIAN_IMAGE_SHA512 / @@ -35,7 +35,7 @@ else fedora_image="${base_qcow2_dir}/Fedora-Cloud-Base-Generic-44-1.7.x86_64.qcow2" debian_url_default="https://cloud.debian.org/images/cloud/trixie/20260810-2566/debian-13-generic-amd64-20260810-2566.qcow2" alma_url_default="https://repo.almalinux.org/almalinux/10/cloud/x86_64/images/AlmaLinux-10-GenericCloud-10.2-20260526.0.x86_64.qcow2" - fedora_url_default="https://download.fedoraproject.org/pub/fedora/linux/releases/44/Cloud/x86_64/images/Fedora-Cloud-Base-Generic-44-1.7.x86_64.qcow2" + fedora_url_default="https://mirrors.tuna.tsinghua.edu.cn/fedora/releases/44/Cloud/x86_64/images/Fedora-Cloud-Base-Generic-44-1.7.x86_64.qcow2" debian_sha512_default="f6978100d8031c266d55d7815ceea7fcdeacf28e1e5834fdb9c94ac96880a054a6e6f8681c2d3b0584e0057eaf3ef7353856b85212d04134744faa9b3bb1f24f" alma_sha256_default="47f2218668dd4776be140dd92fa3bea700be1766e2c7d88bdfd6a4b50f477b4d" fedora_sha256_default="28680fe5b371a5a82ebf43a31926e086a168e59949d03969c5093e7071f90b7f"