|
|
|
|
@ -199,16 +199,6 @@ Optional:
|
|
|
|
|
By default this is "output-BUILDNAME" where "BUILDNAME" is the name
|
|
|
|
|
of the build.
|
|
|
|
|
|
|
|
|
|
* `run_once` (boolean) - When set to true, run_once causes the builder to run
|
|
|
|
|
Qemu only once, rather than twice. Normally (default false) the builder
|
|
|
|
|
will run Qemu once for an initial OS install, then switch the CDROM device
|
|
|
|
|
and boot device for a second run. In that case, Packer does not wait for
|
|
|
|
|
SSH connections until the second power up of the VM. This approach is often
|
|
|
|
|
necessary in Linux distribution installs. However, in many Windows unattended
|
|
|
|
|
installs, the setup handles reboots and dealing with the CDROM as the boot
|
|
|
|
|
device. With care, a power-down/power-up setting (run_once is set to false)
|
|
|
|
|
could work if the unattended install is set to restart into audit mode.
|
|
|
|
|
|
|
|
|
|
* `shutdown_command` (string) - The command to use to gracefully shut down
|
|
|
|
|
the machine once all the provisioning is done. By default this is an empty
|
|
|
|
|
string, which tells Packer to just forcefully shut down the machine.
|
|
|
|
|
|