diff --git a/README.md b/README.md index 534b8b1..ccef86b 100644 --- a/README.md +++ b/README.md @@ -17,6 +17,7 @@ Download or check selected targets: ```bash ./download-images.sh debian13 ./download-images.sh almalinux10 +./download-images.sh fedora44 ./download-images.sh virtio-win ``` @@ -31,6 +32,7 @@ The path interface prints one absolute path without downloading anything: ```bash ./download-images.sh --print-path debian13 ./download-images.sh --print-path almalinux10 +./download-images.sh --print-path fedora44 ./download-images.sh --print-path virtio-win ./download-images.sh --print-path windows11 ./download-images.sh --print-path windows11 --iso @@ -40,4 +42,5 @@ The Windows target prints the QCOW2 path by default. Add `--iso` to print its manually supplied installation ISO path. Download URLs can be overridden with `DEBIAN_IMAGE_URL`, `ALMA_IMAGE_URL`, -and `VIRTIO_WIN_ISO_URL`. +`FEDORA_IMAGE_URL`, and `VIRTIO_WIN_ISO_URL`. The Fedora checksum can be +overridden with `FEDORA_IMAGE_SHA256` when using a custom image. diff --git a/download-images.sh b/download-images.sh index 857d4bf..1e2c757 100755 --- a/download-images.sh +++ b/download-images.sh @@ -7,20 +7,23 @@ install_iso_dir="${images_dir}/install-iso" tools_iso_dir="${images_dir}/tools-iso" debian_image="${base_qcow2_dir}/debian-13-generic-amd64-20260810-2566.qcow2" alma_image="${base_qcow2_dir}/AlmaLinux-10-GenericCloud-10.2-20260526.0.x86_64.qcow2" +fedora_image="${base_qcow2_dir}/Fedora-Cloud-Base-Generic-44-1.7.x86_64.qcow2" virtio_image="${tools_iso_dir}/virtio-win.iso" windows_qcow2_image="${base_qcow2_dir}/Win11_25H2_English_x64_v2.qcow2" windows_iso_image="${install_iso_dir}/Win11_25H2_English_x64_v2.iso" debian_url="${DEBIAN_IMAGE_URL:-https://cloud.debian.org/images/cloud/trixie/20260810-2566/debian-13-generic-amd64-20260810-2566.qcow2}" alma_url="${ALMA_IMAGE_URL:-https://repo.almalinux.org/almalinux/10/cloud/x86_64/images/AlmaLinux-10-GenericCloud-10.2-20260526.0.x86_64.qcow2}" +fedora_url="${FEDORA_IMAGE_URL:-https://download.fedoraproject.org/pub/fedora/linux/releases/44/Cloud/x86_64/images/Fedora-Cloud-Base-Generic-44-1.7.x86_64.qcow2}" virtio_url="${VIRTIO_WIN_ISO_URL:-https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/stable-virtio/virtio-win.iso}" debian_sha512="${DEBIAN_IMAGE_SHA512:-f6978100d8031c266d55d7815ceea7fcdeacf28e1e5834fdb9c94ac96880a054a6e6f8681c2d3b0584e0057eaf3ef7353856b85212d04134744faa9b3bb1f24f}" alma_sha256="${ALMA_IMAGE_SHA256:-47f2218668dd4776be140dd92fa3bea700be1766e2c7d88bdfd6a4b50f477b4d}" +fedora_sha256="${FEDORA_IMAGE_SHA256:-28680fe5b371a5a82ebf43a31926e086a168e59949d03969c5093e7071f90b7f}" force_download=false usage() { cat <&2; usage >&2; exit 2 ;; esac @@ -228,6 +232,15 @@ if wants_target almalinux10; then "$alma_sha256" fi +if wants_target fedora44; then + download_file \ + 'Fedora 44 cloud image' \ + "$fedora_url" \ + "$fedora_image" \ + sha256 \ + "$fedora_sha256" +fi + if wants_target virtio-win; then download_file \ 'VirtIO Windows tools ISO' \