Packer
OpenStack
@hashicorp
The OpenStack multi-component plugin can be used with HashiCorp Packer to create custom images.
- Community
Updated 2 years ago
- GitHub(opens in new tab)
OpenStack
The Openstack Packer plugin provides a builder that is able to create new images for use with OpenStack. The builder takes a source image, runs any provisioning necessary on the image after launching it, then creates a new reusable image. This reusable image can then be used as the foundation of new servers that are launched within OpenStack. The builder will create temporary keypairs that provide temporary access to the server while the image is being created. This simplifies configuration quite a bit.
Installation
To install this plugin, copy and paste this code into your Packer configuration .
Then, run packer init
.
packer {
required_plugins {
openstack = {
version = "~> 1"
source = "github.com/hashicorp/openstack"
}
}
}
Alternatively, you can use packer plugins install
to manage installation of this plugin.
$ packer plugins install github.com/hashicorp/openstack
Components
Builder
- builder - The OpenStack Packer builder is able to create new images for use with OpenStack.