Packer
Oxide
@oxidecomputer
The Oxide multi-component plugin can be used with HashiCorp (IBM) Packer to create custom Oxide images.
- Community
Updated 5 months ago
- GitHub(opens in new tab)
Oxide
The Oxide multi-component plugin can be used with HashiCorp (IBM) Packer to create custom Oxide images.
Installation
To install this plugin, add the following to your Packer configuration and run
packer init.
packer {
required_plugins {
oxide = {
source = "github.com/oxidecomputer/oxide"
version = ">= 0.6.0"
}
}
}
Alternatively, use packer plugins install to install this plugin.
packer plugins install github.com/oxidecomputer/oxide
Components
Builders
The oxide-instance builder creates custom images for use with Oxide.
The builder launches a temporary instance from an existing source image, connects to the instance
using its external IP, provisions the instance, and then creates a new image from the instance's
boot disk. The resulting image can be used to launch new instances on Oxide.
The builder does not manage images. Once it creates an image, it is up to you to use it or delete it.
Data Sources
The oxide-image data source fetches Oxide image information for use
in a Packer build. The image can be a project image or silo image.