Add Fedora 44 cloud image

This commit is contained in:
Guofang committed 2026-08-30 22:41:00 +08:00
1 parent 04c0109baa
commit d2b46066d4
2 files changed
+19 -3

No files matched your search

+4 -1
View File
@@ -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.
+15 -2
View File
@@ -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 <<EOF
Usage: $(basename "$0") [--force] [all|debian13|almalinux10|virtio-win] ...
Usage: $(basename "$0") [--force] [all|debian13|almalinux10|fedora44|virtio-win] ...
$(basename "$0") --print-path TARGET [--iso]
Download one or more shared VM images. With no arguments, all targets are
@@ -40,6 +43,7 @@ print_image_path() {
case "$target" in
debian13) printf '%s\n' "$debian_image" ;;
almalinux10) printf '%s\n' "$alma_image" ;;
fedora44) printf '%s\n' "$fedora_image" ;;
virtio-win) printf '%s\n' "$virtio_image" ;;
windows11)
if [[ "$media" == iso ]]; then
@@ -86,7 +90,7 @@ fi
for target in "${targets[@]}"; do
case "$target" in
all|debian13|almalinux10|virtio-win) ;;
all|debian13|almalinux10|fedora44|virtio-win) ;;
-h|--help) usage; exit 0 ;;
*) printf 'Error: unknown download target: %s\n' "$target" >&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' \