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.
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
The Cloudstack plugin allows Packer to interface with cloudstack
- 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.