Packer Concepts: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
No edit summary
Line 6: Line 6:


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".
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) 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

Revision as of 00:00, 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) 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