|
|
|
|
@ -1,8 +1,9 @@
|
|
|
|
|
---
|
|
|
|
|
description: |
|
|
|
|
|
The shell Packer provisioner provisions machines built by Packer using shell
|
|
|
|
|
scripts. Shell provisioning is the easiest way to get software installed and
|
|
|
|
|
configured on a machine.
|
|
|
|
|
shell-local will run a shell script of your choosing on the machine where Packer
|
|
|
|
|
is being run - in other words, it shell-local will run the shell script on your
|
|
|
|
|
build server, or your desktop, etc., rather than the remote/guest machine being
|
|
|
|
|
provisioned by Packer.
|
|
|
|
|
layout: docs
|
|
|
|
|
page_title: 'Shell (Local) - Provisioners'
|
|
|
|
|
sidebar_current: 'docs-provisioners-shell-local'
|
|
|
|
|
@ -12,8 +13,12 @@ sidebar_current: 'docs-provisioners-shell-local'
|
|
|
|
|
|
|
|
|
|
Type: `shell-local`
|
|
|
|
|
|
|
|
|
|
The local shell provisioner executes a local shell script on the machine running
|
|
|
|
|
Packer. The [remote shell](/docs/provisioners/shell.html) provisioner executes
|
|
|
|
|
shell-local will run a shell script of your choosing on the machine where Packer
|
|
|
|
|
is being run - in other words, it shell-local will run the shell script on your
|
|
|
|
|
build server, or your desktop, etc., rather than the remote/guest machine being
|
|
|
|
|
provisioned by Packer.
|
|
|
|
|
|
|
|
|
|
The [remote shell](/docs/provisioners/shell.html) provisioner executes
|
|
|
|
|
shell scripts on a remote machine.
|
|
|
|
|
|
|
|
|
|
## Basic Example
|
|
|
|
|
|