To install this plugin, copy and paste this code into your Packer configuration, then run packer init
.
packer {
required_plugins {
name = {
# source represents the GitHub URI to the plugin repository without the `packer-plugin-` prefix.
source = "github.com/pelotech/kubevirt"
version = ">=0.0.1"
}
}
}
Alternatively, you can use packer plugins install
to manage installation of this plugin.
$ packer plugins install github.com/pelotech/kubevirt
The KubeVirt plugin is intended for creating VM base images.
- builder - The ISO builder is used to spin up a KubeVirt VM, provision and export the associated disk image.
- post-processor - The S3 post-processor is used to export disk images using a Kubernetes job to an S3 bucket.