Packer shell Provisioner: Difference between revisions

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


* [[Packer Concepts#shell|Packer Concepts]]
* [[Packer Concepts#shell|Packer Concepts]]
=Overview=
=shell Provisioner Types=
==inline==
<syntaxhighlight lang='json'>
{
  ...
  "provisioners": [
    {
      "type": "shell",
      "inline": ["sudo yum install ansible"]
    },
  ...
}
</syntaxhighlight>
==script==
==scripts==

Revision as of 17:21, 15 November 2019

External

Internal

Overview

shell Provisioner Types

inline

{
  ...
  "provisioners": [
    {
      "type": "shell",
      "inline": ["sudo yum install ansible"]
    },
  ... 
}

script

scripts