Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
packer
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kristopher Ruzic
packer
Commits
dfdbc1b1
Commit
dfdbc1b1
authored
Jul 04, 2013
by
Mitchell Hashimoto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
website: add more info to the file provisioner page
parent
620d6b93
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
5 deletions
+8
-5
website/source/docs/provisioners/file.html.markdown
website/source/docs/provisioners/file.html.markdown
+8
-5
No files found.
website/source/docs/provisioners/file.html.markdown
View file @
dfdbc1b1
...
...
@@ -6,7 +6,10 @@ layout: "docs"
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
...
...
@@ -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.
*
`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
working directory when
?
Packer is executed.
path can be absolute or relative. If it is relative, it is relative to the
working directory when Packer is executed.
*
`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
*
`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
must already exist.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment