website/content/docs/provisioners/index.mdx
⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️
[!IMPORTANT]
Documentation Update: Product documentation previously located in/websitehas moved to thehashicorp/web-unified-docsrepository, where all product documentation is now centralized. Please make contributions directly toweb-unified-docs, since changes to/websitein this repository will not appear on developer.hashicorp.com. ⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️
Provisioners use built-in and third-party software to install and configure the machine image after booting. Provisioners prepare the system, so you may want to use them for the following use cases:
The following provisioners are included with Packer:
breakpoint - pause until the user presses Enter to resume
a build.file - upload files to machines image during a build.hcp-sbom - upload an SBOM and associate it with an artifact
version in the HCP Packer registry.shell - run shell scripts on the machines image during a build.shell-local - run shell scripts on the host running Packer
during a build.powershell - run PowerShell scripts on Windows machine
images during a build.windows-shell - run commands using cmd on Windows
machine images during a build.windows-restart - initiate a reboot on a Windows
machine images during a build.Additional Community Supported provisioners are developed and maintained by various members of the community.
Refer to the provisioner block
documentation to learn more about working with provisioners.