packer-plugin-qemu icon indicating copy to clipboard operation
packer-plugin-qemu copied to clipboard

`iso_skip_cache` fails for images on local filesystem

Open Sam13 opened this issue 3 months ago • 0 comments

When settings iso_skip_local_cache = true and iso_url points to a file on the local filesystem Packer fails with the following error:

No byte serving support. The HTTP server must support Accept-Ranges=bytes

Plugin and Packer version

Packer v1.14.1 QEMU Plugin 1.1.4 QEMU emulator version 7.2.18 (Debian 1:7.2+dfsg-7+deb12u15)

Simplified Packer Buildfile

source "qemu" "my_image" {
  iso_skip_cache   = true
  format           = "qcow2"
  disk_image       = true
  iso_checksum     = "none"
  iso_url          = "/tmp/test.qcow2"
}

Sam13 avatar Sep 05 '25 07:09 Sam13