mirror of
https://github.com/hashicorp/packer.git
synced 2026-06-09 08:42:33 -04:00
Clarify documentation for template file function (#11798)
This commit is contained in:
parent
c99b300e3a
commit
b9c28c7a8f
2 changed files with 2 additions and 2 deletions
|
|
@ -25,7 +25,7 @@ type Config struct {
|
|||
// This is the content to copy to `destination`. If destination is a file,
|
||||
// content will be written to that file, in case of a directory a file named
|
||||
// `pkr-file-content` is created. It's recommended to use a file as the
|
||||
// destination. A template_file might be referenced in here, or any
|
||||
// destination. The `templatefile` function might be used here, or any
|
||||
// interpolation syntax. This attribute cannot be specified with source or
|
||||
// sources.
|
||||
Content string `mapstructure:"content" required:"true"`
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
- `content` (string) - This is the content to copy to `destination`. If destination is a file,
|
||||
content will be written to that file, in case of a directory a file named
|
||||
`pkr-file-content` is created. It's recommended to use a file as the
|
||||
destination. A template_file might be referenced in here, or any
|
||||
destination. The `templatefile` function might be used here, or any
|
||||
interpolation syntax. This attribute cannot be specified with source or
|
||||
sources.
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue