The Proxmox Packer builder is able to create Proxmox virtual machines and store them as new Proxmox Virtual Machine images.
To install this plugin add this code into your Packer configuration and run packer init
packer {
required_plugins {
name = {
version = "~> 1"
source = "github.com/hashicorp/proxmox"
}
}
}
Alternatively, you can use packer plugins install
to manage installation of this plugin.
packer plugins install github.com/hashicorp/proxmox
Packer is able to target both ISO and existing Cloud-Init images.
- proxmox-clone - The proxmox image builder is able to create new images for use with Proxmox VE. The builder takes a cloud-init enabled virtual machine template name, runs any provisioning necessary on the image after launching it, then creates a virtual machine template.
- proxmox-iso - The proxmox ISO builder is able to create new images for use with Proxmox VE. The builder takes an ISO source, runs any provisioning necessary on the image after launching it, then creates a virtual machine template.