qemu: add missing fields and put the specific config fields on top
This commit is contained in:
parent
02421bad33
commit
d4c400aa71
|
@ -63,22 +63,28 @@ this build to run. We recommend you check out the
|
|||
[Community Templates](https://www.packer.io/community-tools.html#templates)
|
||||
for a practical usage example.
|
||||
|
||||
## Configuration Reference
|
||||
|
||||
There are many configuration options available for the Qemu builder. They are
|
||||
organized below into two categories: required and optional. Within each
|
||||
category, the available options are alphabetized and described.
|
||||
|
||||
In addition to the options listed here, a
|
||||
[communicator](/docs/templates/communicator.html) can be configured for this
|
||||
builder.
|
||||
|
||||
Note that you will need to set `"headless": true` if you are running Packer
|
||||
on a Linux server without X11; or if you are connected via ssh to a remote
|
||||
Linux server and have not enabled X11 forwarding (`ssh -X`).
|
||||
|
||||
## Qemu Specific Configuration Reference
|
||||
|
||||
## ISO Configuration Reference
|
||||
There are many configuration options available for the builder. In addition to
|
||||
the items listed here, you will want to look at the general configuration
|
||||
references for [ISO](#iso-configuration),
|
||||
[HTTP](#http-directory-configuration),
|
||||
[Floppy](#floppy-configuration),
|
||||
[Boot](#boot-configuration),
|
||||
[Shutdown](#shutdown-configuration),
|
||||
[Communicator](#communicator-configuration)
|
||||
configuration references, which are
|
||||
necessary for this build to succeed and can be found further down the page.
|
||||
|
||||
### Optional:
|
||||
|
||||
<%= partial "partials/builder/qemu/Config-not-required" %>
|
||||
|
||||
## ISO Configuration
|
||||
|
||||
<%= partial "partials/common/ISOConfig" %>
|
||||
|
||||
|
@ -90,14 +96,14 @@ Linux server and have not enabled X11 forwarding (`ssh -X`).
|
|||
|
||||
<%= partial "partials/common/ISOConfig-not-required" %>
|
||||
|
||||
## Http directory configuration reference
|
||||
## Http directory configuration
|
||||
|
||||
<%= partial "partials/common/HTTPConfig" %>
|
||||
### Optional:
|
||||
|
||||
<%= partial "partials/common/HTTPConfig-not-required" %>
|
||||
|
||||
## Floppy configuration reference
|
||||
## Floppy configuration
|
||||
|
||||
<%= partial "partials/common/FloppyConfig" %>
|
||||
|
||||
|
@ -105,12 +111,14 @@ Linux server and have not enabled X11 forwarding (`ssh -X`).
|
|||
|
||||
<%= partial "partials/common/FloppyConfig-not-required" %>
|
||||
|
||||
## Qemu Configuration Reference
|
||||
## Shutdown configuration
|
||||
|
||||
### Optional:
|
||||
<%= partial "partials/builder/qemu/Config-not-required" %>
|
||||
|
||||
## Boot Configuration Reference
|
||||
<%= partial "partials/common/shutdowncommand/ShutdownConfig-not-required" %>
|
||||
|
||||
|
||||
## Boot Configuration
|
||||
|
||||
<%= partial "partials/common/bootcommand/VNCConfig" %>
|
||||
<%= partial "partials/common/bootcommand/BootConfig" %>
|
||||
|
@ -120,6 +128,12 @@ Linux server and have not enabled X11 forwarding (`ssh -X`).
|
|||
<%= partial "partials/common/bootcommand/BootConfig-not-required" %>
|
||||
|
||||
|
||||
### Communicator Configuration
|
||||
|
||||
#### Optional:
|
||||
|
||||
<%= partial "partials/helper/communicator/Config-not-required" %>
|
||||
|
||||
|
||||
### Troubleshooting
|
||||
|
||||
|
|
Loading…
Reference in New Issue