Packer
CloudStack
@hashicorp
The cloudstack plugin can be used with HashiCorp Packer to create custom images on Apache CloudStack.
- Community
Updated 2 years ago
- GitHub(opens in new tab)
CloudStack
The Cloudstack Packer plugin provides a
cloudstack
builder that is able to
create new templates for use with CloudStack. The builder takes either an ISO
or an existing template as its source, runs any provisioning necessary on the instance after launching it and then creates a new template from that instance.
Installation
To install this plugin, copy and paste this code into your Packer configuration, then run packer init
.
packer {
required_plugins {
cloudstack = {
source = "github.com/hashicorp/cloudstack"
version = "~> 1"
}
}
}
Alternatively, you can use packer plugins install
to manage installation of this plugin.
$ packer plugins install github.com/hashicorp/cloudstack
Components
The Cloudstack plugin allows Packer to interface with cloudstack
Builders
- cloudstack - Creates new templates for use with CloudStack. The builder takes either an ISO or an existing template as its source, runs any provisioning necessary on the instance after launching it and then creates a new template from that instance.