Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Example

This directory contains an example Packer configuration for using this Oxide Packer plugin. This is primarily run via CI/CD but it’s also a good reference for users.

Usage

Export your Oxide credentials as environment variables.

export OXIDE_HOST="https://oxide.sys.example.com"
export OXIDE_TOKEN="oxide-token-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"

Initialize the configuration.

packer init template.pkr.hcl

Run the build.

packer build template.pkr.hcl