Packer Concepts: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 9: Line 9:
=Provisioner=
=Provisioner=


A provisioner is a builtin method or an executor of some third party software (shell script, ansible) that installs and configures the machine image after the image has booted. A provisioner prepares the system for use by:
A provisioner is a builtin method or an executor of some third party software ([https://www.packer.io/docs/provisioners/shell.html shell script], [https://www.packer.io/docs/provisioners/ansible-local.html ansible-local], [https://www.packer.io/docs/provisioners/file.html file]) that installs and configures the machine image after the image has booted. A provisioner prepares the system for use by:
* patching the kernel
* patching the kernel
* installing patches
* installing patches
* creating users
* creating users

Revision as of 00:01, 1 August 2019

Internal

Builder

A builder is responsible for creating machines and generating images from them for various platforms. There are separate builders for EC2, VMware, VirtualBox, etc. An example of AWS builder is "amazon-ebs".

Provisioner

A provisioner is a builtin method or an executor of some third party software (shell script, ansible-local, file) that installs and configures the machine image after the image has booted. A provisioner prepares the system for use by:

  • patching the kernel
  • installing patches
  • creating users