From 6d81ad0af5722d0efb36d1c19255b5ddeaac0718 Mon Sep 17 00:00:00 2001 From: Mark Meyer Date: Wed, 24 Oct 2018 12:57:06 +0200 Subject: [PATCH] Add note about overwriting destination file Closes #4905 --- website/source/docs/provisioners/file.html.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/website/source/docs/provisioners/file.html.md b/website/source/docs/provisioners/file.html.md index bea2a605e..011ee326e 100644 --- a/website/source/docs/provisioners/file.html.md +++ b/website/source/docs/provisioners/file.html.md @@ -48,7 +48,8 @@ The available configuration options are listed below. make the destination a file as well, but if you set your destination as a directory, at least make sure that the destination ends in a trailing slash so that Packer knows to use the source's basename in the final upload path. - Failure to do so may cause Packer to fail on file uploads. + Failure to do so may cause Packer to fail on file uploads. If the + destination file already exists, it will be overwritten. - `direction` (string) - The direction of the file transfer. This defaults to "upload". If it is set to "download" then the file "source" in the machine