No, you need to wrap packer into a script that downloads the files and unzip it before hand.
On Wed, 19 Sep 2018 at 16:04, oko loj <[email protected]> wrote: > I'm downloading raspbian and building it with qemu-system-arm: > > "builders": [ > { > "type": "qemu", > "iso_url": "https://downloads.raspberrypi.org/raspbian_latest", > "iso_checksum": > "8636ab9fdd8f58a8ec7dde33b83747696d31711d17ef68267dbbcd6cfb968c24", > "iso_checksum_type": "sha256", > > > the "iso_url" is getting a .zip file, and I can't find a .iso link > anywhere on the internet. > > Qemu-img tries to convert it to "raw" but in the output folder it's still > a zip: > > $ file packer-qemu > packer-qemu: Zip archive data, at least v4.5 to extract > > Is there a way to convert the zip file to a raw image before qemu boots it? > > Thanks > > -- > This mailing list is governed under the HashiCorp Community Guidelines - > https://www.hashicorp.com/community-guidelines.html. Behavior in > violation of those guidelines may result in your removal from this mailing > list. > > GitHub Issues: https://github.com/mitchellh/packer/issues > IRC: #packer-tool on Freenode > --- > You received this message because you are subscribed to the Google Groups > "Packer" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/packer-tool/ddcc4cc2-4614-4eba-8781-d707105f117d%40googlegroups.com > <https://groups.google.com/d/msgid/packer-tool/ddcc4cc2-4614-4eba-8781-d707105f117d%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list. GitHub Issues: https://github.com/mitchellh/packer/issues IRC: #packer-tool on Freenode --- You received this message because you are subscribed to the Google Groups "Packer" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/packer-tool/CALz9Rt_j09OAekTtcvTjGsZwYkABpYO3j8VPYytWhNW03-ZcDg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
