github.com/hashicorp/packer@v1.14.3/website/content/partials/packer-plugin-sdk/shutdowncommand/ShutdownConfig-not-required.mdx (about)

     1  <!-- Code generated from the comments of the ShutdownConfig struct in shutdowncommand/config.go; DO NOT EDIT MANUALLY -->
     2  
     3  - `shutdown_command` (string) - The command to use to gracefully shut down the machine once all
     4    provisioning is complete. By default this is an empty string, which
     5    tells Packer to just forcefully shut down the machine. This setting can
     6    be safely omitted if for example, a shutdown command to gracefully halt
     7    the machine is configured inside a provisioning script. If one or more
     8    scripts require a reboot it is suggested to leave this blank (since
     9    reboots may fail) and instead specify the final shutdown command in your
    10    last script.
    11  
    12  - `shutdown_timeout` (duration string | ex: "1h5m2s") - The amount of time to wait after executing the shutdown_command for the
    13    virtual machine to actually shut down. If the machine doesn't shut down
    14    in this time it is considered an error. By default, the time out is "5m"
    15    (five minutes).
    16  
    17  <!-- End of code generated from the comments of the ShutdownConfig struct in shutdowncommand/config.go; -->