2020-03-18 18:46:47 -04:00
|
|
|
<!-- Code generated from the comments of the ShutdownConfig struct in builder/vsphere/common/step_shutdown.go; DO NOT EDIT MANUALLY -->
|
|
|
|
|
2020-10-13 16:29:33 -04:00
|
|
|
- `shutdown_command` (string) - Specify a VM guest shutdown command. This command will be executed using
|
|
|
|
the `communicator`. Otherwise the VMware guest tools are used to gracefully
|
|
|
|
shutdown the VM guest.
|
2020-07-13 06:33:16 -04:00
|
|
|
|
|
|
|
- `shutdown_timeout` (duration string | ex: "1h5m2s") - Amount of time to wait for graceful VM shutdown.
|
|
|
|
Defaults to 5m or five minutes.
|
2020-10-13 16:29:33 -04:00
|
|
|
This will likely need to be modified if the `communicator` is 'none'.
|
2020-07-13 06:33:16 -04:00
|
|
|
|
|
|
|
- `disable_shutdown` (bool) - Packer normally halts the virtual machine after all provisioners have
|
|
|
|
run when no `shutdown_command` is defined. If this is set to `true`, Packer
|
2020-12-16 01:35:34 -08:00
|
|
|
*will not* halt the virtual machine but will assume that you will send the stop
|
2020-10-13 16:29:33 -04:00
|
|
|
signal yourself through a preseed.cfg, a script or the final provisioner.
|
2020-07-13 06:33:16 -04:00
|
|
|
Packer will wait for a default of five minutes until the virtual machine is shutdown.
|
|
|
|
The timeout can be changed using `shutdown_timeout` option.
|