github.com/danp/terraform@v0.9.5-0.20170426144147-39d740081351/website/source/docs/enterprise/packer/builds/installing-software.html.md (about)

     1  ---
     2  layout: "enterprise"
     3  page_title: "Installing Software - Packer Builds - Terraform Enterprise"
     4  sidebar_current: "docs-enterprise-packerbuilds-installing"
     5  description: |-
     6    Installing software with Packer.
     7  ---
     8  
     9  # Installing Software
    10  
    11  Please review the [Packer Build Environment](/docs/enterprise/packer/builds/build-environment.html)
    12  specification for important information on isolation, security, and hardware
    13  limitations before continuing.
    14  
    15  In some cases, it may be necessary to install custom software to build your
    16  artifact using Packer. The easiest way to install software on the Packer builder
    17  is via the `shell-local` provisioner. This will execute commands on the host
    18  machine running Packer.
    19  
    20      {
    21        "provisioners": [
    22          {
    23            "type": "shell-local",
    24            "command": "sudo apt-get install -y customsoftware"
    25          }
    26        ]
    27      }
    28  
    29  Please note that nothing is persisted between Packer builds, so you will need
    30  to install custom software on each run.
    31  
    32  The Packer builders run the latest version of Ubuntu LTS.