Packer file Provisioner: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
(Created page with "=External= * https://www.packer.io/docs/provisioners/file.html =Internal= * Packer Concepts")
 
 
Line 4: Line 4:


* [[Packer Concepts#file|Packer Concepts]]
* [[Packer Concepts#file|Packer Concepts]]
=Example=
<syntaxhighlight lang='text'>
{
  "provisioners": [
    {
      "type": "file",
      "source": "../../../some-local-file",
      "destination": "/tmp/image-file"
    },
  ...
  ]
}
</syntaxhighlight>

Latest revision as of 21:24, 16 November 2019

External

Internal

Example

{
  "provisioners": [
    {
      "type": "file",
      "source": "../../../some-local-file",
      "destination": "/tmp/image-file"
    },
   ...
  ]
}