Commit dfdbc1b1 authored by Mitchell Hashimoto's avatar Mitchell Hashimoto

website: add more info to the file provisioner page

parent 620d6b93
...@@ -6,7 +6,10 @@ layout: "docs" ...@@ -6,7 +6,10 @@ layout: "docs"
Type: `file` Type: `file`
The file provisioner uploads files to machines build by Packer. The file provisioner uploads files to machines built by Packer. The
recommended usage of the file provisioner is to use it to upload files,
and then use [shell provisioner](/docs/provisioners/shell.html) to move
them to the proper place, set permissions, etc.
## Basic Example ## Basic Example
...@@ -23,9 +26,9 @@ The file provisioner uploads files to machines build by Packer. ...@@ -23,9 +26,9 @@ The file provisioner uploads files to machines build by Packer.
The available configuration options are listed below. All elements are required. The available configuration options are listed below. All elements are required.
* `source` (string) - The path to a local file to upload to the machine. The * `source` (string) - The path to a local file to upload to the machine. The
path can be absolute or relative. If it is relative, it is relative to the path can be absolute or relative. If it is relative, it is relative to the
working directory when ?Packer is executed. working directory when Packer is executed.
* `destination` (string) - The path where the file will be uploaded to in the * `destination` (string) - The path where the file will be uploaded to in the
machine. This value must be a writable location and any parent directories machine. This value must be a writable location and any parent directories
must already exist. must already exist.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment