From 529090aaa729ea909ff3559a12ed041736890b2d Mon Sep 17 00:00:00 2001 From: JF Bibeau Date: Thu, 24 Nov 2016 14:18:38 -0500 Subject: [PATCH] Docs: add QCOW2 format support for `iso_url` Took some digging to realize that `iso_url` can actually take in a qcow2 or img format. This is fantastic and works great out of the box. I feel like adding the extra 2 lines of docs will help future users looking for this. --- website/source/docs/builders/qemu.html.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/website/source/docs/builders/qemu.html.md b/website/source/docs/builders/qemu.html.md index d1118c928..2270d28ae 100644 --- a/website/source/docs/builders/qemu.html.md +++ b/website/source/docs/builders/qemu.html.md @@ -105,6 +105,9 @@ Linux server and have not enabled X11 forwarding (`ssh -X`). - `iso_url` (string) - A URL to the ISO containing the installation image. This URL can be either an HTTP URL or a file URL (or path to a file). If this is an HTTP URL, Packer will download it and cache it between runs. + This can also be a URL to an IMG or QCOW2 file, in which case QEMU will + boot directly from it. When passing a path to an IMG or QCOW2 file, you + should set `disk_image` to "true". - `ssh_username` (string) - The username to use to SSH into the machine once the OS is installed.