Skip to content

Latest commit

 

History

History

docs

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

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.