example

command
v1.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 15, 2017 License: MPL-2.0 Imports: 4 Imported by: 0

Documentation

Overview

This is an example plugin. In packer 0.9.0 and up, core plugins are compiled into the main binary so these files are no longer necessary for the packer project.

However, it is still possible to create a third-party plugin for packer that is distributed independently from the packer distribution. These continue to work in the same way. They will be loaded from the same directory as packer by looking for packer-[builder|provisioner|post-processor]-plugin-name. For example:

packer-builder-docker

Look at command/plugin.go to see how the core plugins are loaded now, but the format below was used for packer <= 0.8.6 and is forward-compatible.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL