guofangandClaude Sonnet 5 4e86a23634 Auto-detect host architecture for downloaded images
Debian/AlmaLinux/Fedora image filenames, URLs, and checksums were
hardcoded to arm64/aarch64 (for Apple Silicon macOS), which would
silently download the wrong-architecture image on an Intel/amd64
host. Detect the architecture from the host (uname -m), normalized
to arm64/amd64, with VM_IMAGE_ARCH as an override; the run-*.sh
scripts in the parent repo use the same override so both stay in
sync. amd64 keeps the previously pinned checksums; arm64 checksums
are still unpinned pending upstream publication.

windows11 is unaffected: it stays x86_64-only, matching run-windows11.sh.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-28 22:01:26 +08:00
2026-08-18 17:01:54 +08:00
2026-08-18 17:01:54 +08:00
2026-08-18 17:01:54 +08:00
2026-08-18 17:01:54 +08:00
2026-08-30 22:41:00 +08:00

vm-images

Shared, locally cached virtual-machine installation media and base images. Downloaded ISO, QCOW2, IMG, VHD, and VHDX files are intentionally excluded from Git.

Download images

Download every supported image:

./download-images.sh

Download or check selected targets:

./download-images.sh debian13
./download-images.sh almalinux10
./download-images.sh fedora44
./download-images.sh virtio-win

The Windows installation ISO is not downloaded because Microsoft's temporary download URLs expire. Supply it manually at the path reported by ./download-images.sh --print-path windows11 --iso.

Query image paths

The path interface prints one absolute path without downloading anything:

./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

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, FEDORA_IMAGE_URL, and VIRTIO_WIN_ISO_URL. The Fedora checksum can be overridden with FEDORA_IMAGE_SHA256 when using a custom image.

S
Description
No description provided
Readme
243 KiB
0 Stars 1 Watchers 0 Forks
Languages
Shell 87.3%
JavaScript 9.6%
PowerShell 3.1%