Add Fedora 44 cloud image
This commit is contained in:
1 parent
04c0109baa
commit
d2b46066d4
2 files changed
+19
-3
No files matched your search
+15
-2
@@ -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' \
|
||||
|
||||
Reference in new issue
Block a user