github.com/hashicorp/packer@v1.14.3/website/content/docs/provisioners/index.mdx (about)

     1  ---
     2  description: |
     3    Provisioners use builtin and third-party software to install and configure the
     4    machine image after booting. Learn about Packer provisioners.
     5  page_title: Provisioners overview
     6  ---
     7  
     8  # Provisioners overview
     9  
    10  Provisioners use built-in and third-party software to install and configure the machine image after
    11  booting. Provisioners prepare the system, so you may want to use them for the following use cases:
    12  
    13  - installing packages
    14  - patching the kernel
    15  - creating users
    16  - downloading application code
    17  
    18  The following provisioners are included with Packer:
    19  
    20  - [`breakpoint`](/packer/docs/provisioners/breakpoint) - pause until the user presses `Enter` to resume
    21    a build.
    22  - [`file`](/packer/docs/provisioners/file) - upload files to machines image during a build.
    23  - [`hcp-sbom`](/packer/docs/provisioners/hcp-sbom) - upload an SBOM and associate it with an artifact 
    24     version in the HCP Packer registry.
    25  - [`shell`](/packer/docs/provisioners/shell) - run shell scripts on the machines image during a build.
    26  - [`shell-local`](/packer/docs/provisioners/shell-local) - run shell scripts on the host running Packer
    27    during a build.
    28  - [`powershell`](/packer/docs/provisioners/powershell) - run PowerShell scripts on Windows machine
    29    images during a build.
    30  - [`windows-shell`](/packer/docs/provisioners/windows-shell) - run commands using `cmd` on Windows
    31    machine images during a build.
    32  - [`windows-restart`](/packer/docs/provisioners/windows-restart) - initiate a reboot on a Windows
    33    machine images during a build.
    34  
    35  Additional [Community Supported](/packer/docs/provisioners/community-supported) provisioners are
    36  developed and maintained by various members of the community.
    37  
    38  Refer to the [`provisioner`](/packer/docs/templates/hcl_templates/blocks/build/provisioner) block
    39  documentation to learn more about working with provisioners.